BenjaminKaindu0506 commited on
Commit
fec35e0
·
1 Parent(s): a10a8ac

Use provider=auto instead of hardcoding novita

Browse files

Novita specifically may not have spend authorized on this account; auto
lets huggingface_hub pick the first provider actually available/authorized
for the user rather than failing on one specific provider.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -228,7 +228,7 @@ class BasicAgent:
228
  ],
229
  model= InferenceClientModel(
230
  "Qwen/Qwen3-235B-A22B-Instruct-2507",
231
- provider="novita",
232
  temperature=0.3,
233
  ),
234
  additional_authorized_imports=["pandas", "requests", "re", "io"],
 
228
  ],
229
  model= InferenceClientModel(
230
  "Qwen/Qwen3-235B-A22B-Instruct-2507",
231
+ provider="auto",
232
  temperature=0.3,
233
  ),
234
  additional_authorized_imports=["pandas", "requests", "re", "io"],