Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,11 +12,12 @@ from tools.catering_service_tool import SimpleTool as CateringServiceTool
|
|
| 12 |
from tools.superhero_party_theme_generator import SuperheroPartyThemeTool as SuperheroPartyThemeGenerator
|
| 13 |
from tools.final_answer import FinalAnswerTool as FinalAnswer
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
model = HfApiModel(
|
| 18 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 19 |
-
provider=None,
|
|
|
|
| 20 |
)
|
| 21 |
|
| 22 |
web_search = WebSearch()
|
|
|
|
| 12 |
from tools.superhero_party_theme_generator import SuperheroPartyThemeTool as SuperheroPartyThemeGenerator
|
| 13 |
from tools.final_answer import FinalAnswerTool as FinalAnswer
|
| 14 |
|
| 15 |
+
hf_token = os.environ.get('HF_TOKEN')
|
| 16 |
|
| 17 |
model = HfApiModel(
|
| 18 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 19 |
+
provider=None,
|
| 20 |
+
token=hf_token
|
| 21 |
)
|
| 22 |
|
| 23 |
web_search = WebSearch()
|