Spaces:
Runtime error
Runtime error
Duygu Jones
commited on
Update app.py
Browse filesThe HF API key and model endpoint have been added.
app.py
CHANGED
|
@@ -56,7 +56,7 @@ final_answer = FinalAnswerTool()
|
|
| 56 |
model = HfApiModel(
|
| 57 |
max_tokens=2096,
|
| 58 |
temperature=0.5,
|
| 59 |
-
model_id='
|
| 60 |
custom_role_conversions=None,
|
| 61 |
)
|
| 62 |
|
|
|
|
| 56 |
model = HfApiModel(
|
| 57 |
max_tokens=2096,
|
| 58 |
temperature=0.5,
|
| 59 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
| 60 |
custom_role_conversions=None,
|
| 61 |
)
|
| 62 |
|