Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,12 +49,10 @@ model = HfApiModel(
|
|
| 49 |
max_tokens=2096,
|
| 50 |
temperature=0.5,
|
| 51 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 52 |
-
custom_role_conversions=None
|
|
|
|
| 53 |
)
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
with open("prompts.yaml", 'r') as stream:
|
| 59 |
prompt_templates = yaml.safe_load(stream)
|
| 60 |
|
|
|
|
| 49 |
max_tokens=2096,
|
| 50 |
temperature=0.5,
|
| 51 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 52 |
+
custom_role_conversions=None,
|
| 53 |
+
hf_api_key=HF_API_KEY
|
| 54 |
)
|
| 55 |
|
|
|
|
|
|
|
|
|
|
| 56 |
with open("prompts.yaml", 'r') as stream:
|
| 57 |
prompt_templates = yaml.safe_load(stream)
|
| 58 |
|