Stevenfunau commited on
Commit
d13bc3d
·
verified ·
1 Parent(s): 7a4bc39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,13 +19,13 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
19
  #model_id="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/"
20
  #model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
21
  #model=LiteLLMModel(model_id="deepseek-ai/DeepSeek-Coder-V2-Lite-Base", api_key=os.getenv('HF_API_KEY'))
22
- model=LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=os.getenv('GEMINI_API_KEY'))
23
  #model=OpenAIServerModel(model_id="gpt-4o"),
24
  #model=LiteLLMModel(model_id="deepseek/deepseek-chat", api_key=os.getenv('DEEPSEEK_API_KEY'))
25
 
26
  # Initialize the model
27
  #model = HfApiModel(model_id)
28
- #model = HfApiModel("Qwen/Qwen2.5-Coder-32B-Instruct")
29
  #model = HfApiModel("deepseek-ai/DeepSeek-R1", provider="together", max_tokens=8096)
30
 
31
  # --- Basic Agent Definition ---
 
19
  #model_id="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/"
20
  #model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
21
  #model=LiteLLMModel(model_id="deepseek-ai/DeepSeek-Coder-V2-Lite-Base", api_key=os.getenv('HF_API_KEY'))
22
+ #model=LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=os.getenv('GEMINI_API_KEY'))
23
  #model=OpenAIServerModel(model_id="gpt-4o"),
24
  #model=LiteLLMModel(model_id="deepseek/deepseek-chat", api_key=os.getenv('DEEPSEEK_API_KEY'))
25
 
26
  # Initialize the model
27
  #model = HfApiModel(model_id)
28
+ model = HfApiModel("Qwen/Qwen2.5-Coder-32B-Instruct")
29
  #model = HfApiModel("deepseek-ai/DeepSeek-R1", provider="together", max_tokens=8096)
30
 
31
  # --- Basic Agent Definition ---