Spaces:
Runtime error
Runtime error
using hf endpoint for model_id
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ final_answer = FinalAnswerTool()
|
|
| 81 |
model = HfApiModel(
|
| 82 |
max_tokens=2096,
|
| 83 |
temperature=0.5,
|
| 84 |
-
model_id='
|
| 85 |
custom_role_conversions=None,
|
| 86 |
)
|
| 87 |
|
|
|
|
| 81 |
model = HfApiModel(
|
| 82 |
max_tokens=2096,
|
| 83 |
temperature=0.5,
|
| 84 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', # using the endpoint for model_id
|
| 85 |
custom_role_conversions=None,
|
| 86 |
)
|
| 87 |
|