Stevenfunau commited on
Commit
1456665
·
verified ·
1 Parent(s): 98219be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -16,7 +16,10 @@ import yaml
16
  # --- Constants ---
17
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
18
  #--SM
19
- model = HfApiModel("Qwen/Qwen2.5-Coder-32B-Instruct")
 
 
 
20
  #model = HfApiModel("deepseek-ai/DeepSeek-R1", provider="together", max_tokens=8096)
21
 
22
  # --- Basic Agent Definition ---
 
16
  # --- Constants ---
17
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
18
  #--SM
19
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/'
20
+ # Initialize the model
21
+ model = HfApiModel(model_id=model_id)
22
+ #model = HfApiModel("Qwen/Qwen2.5-Coder-32B-Instruct")
23
  #model = HfApiModel("deepseek-ai/DeepSeek-R1", provider="together", max_tokens=8096)
24
 
25
  # --- Basic Agent Definition ---