Spaces:
Running
Running
Commit ·
2e6505c
1
Parent(s): 547771b
Fix hf_token typo
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def respond(
|
|
| 56 |
yield "⚠️ HF_TOKEN secret is not set. Add it in Space settings and restart."
|
| 57 |
return
|
| 58 |
|
| 59 |
-
client = InferenceClient(token=
|
| 60 |
|
| 61 |
# Pass persona only when at least one field is filled
|
| 62 |
active_persona = validate_persona(persona) if persona else None
|
|
|
|
| 56 |
yield "⚠️ HF_TOKEN secret is not set. Add it in Space settings and restart."
|
| 57 |
return
|
| 58 |
|
| 59 |
+
client = InferenceClient(token=HF_TOKEN)
|
| 60 |
|
| 61 |
# Pass persona only when at least one field is filled
|
| 62 |
active_persona = validate_persona(persona) if persona else None
|