Stevenfunau commited on
Commit
91b81a2
·
verified ·
1 Parent(s): 94a2697

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,9 +17,9 @@ import yaml
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
- model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
21
- #model_id="deepseek-ai/DeepSeek-Coder-V2-Lite-Base"
22
- model=LiteLLMModel(model_id)
23
 
24
  # Initialize the model
25
  #model = HfApiModel(model_id)
 
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
+ #model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
21
+ model_id="deepseek-ai/DeepSeek-Coder-V2-Lite-Base"
22
+ model=LiteLLMModel(model_id=model_id, api_key=os.getenv('HF_API_KEY'))
23
 
24
  # Initialize the model
25
  #model = HfApiModel(model_id)