Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import requests
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
|
@@ -95,7 +96,7 @@ model = HfApiModel(
|
|
| 95 |
temperature=0.5,
|
| 96 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 97 |
custom_role_conversions=None,
|
| 98 |
-
token=hf_token,
|
| 99 |
)
|
| 100 |
|
| 101 |
|
|
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
+
import os
|
| 8 |
|
| 9 |
from Gradio_UI import GradioUI
|
| 10 |
|
|
|
|
| 96 |
temperature=0.5,
|
| 97 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 98 |
custom_role_conversions=None,
|
| 99 |
+
token=os.getenv('hf_token'),
|
| 100 |
)
|
| 101 |
|
| 102 |
|