Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import datetime
|
|
| 3 |
import requests
|
| 4 |
import pytz
|
| 5 |
import yaml
|
|
|
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
|
@@ -42,6 +43,7 @@ max_tokens=2096,
|
|
| 42 |
temperature=0.5,
|
| 43 |
model_id='deepseek-ai/DeepSeek-R1',# it is possible that this model may be overloaded
|
| 44 |
custom_role_conversions=None,
|
|
|
|
| 45 |
)
|
| 46 |
|
| 47 |
|
|
|
|
| 3 |
import requests
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
+
import os
|
| 7 |
from tools.final_answer import FinalAnswerTool
|
| 8 |
|
| 9 |
from Gradio_UI import GradioUI
|
|
|
|
| 43 |
temperature=0.5,
|
| 44 |
model_id='deepseek-ai/DeepSeek-R1',# it is possible that this model may be overloaded
|
| 45 |
custom_role_conversions=None,
|
| 46 |
+
api_key=os.getenv('HFAPIKEY'),
|
| 47 |
)
|
| 48 |
|
| 49 |
|