Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
# Hugging Face API key
|
| 8 |
-
API_KEY = st.secrets["
|
| 9 |
|
| 10 |
# Initialize the Hugging Face Inference Client
|
| 11 |
client = InferenceClient(api_key=API_KEY)
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
# Hugging Face API key
|
| 8 |
+
API_KEY = st.secrets["HF_AUTH_TOKEN"]
|
| 9 |
|
| 10 |
# Initialize the Hugging Face Inference Client
|
| 11 |
client = InferenceClient(api_key=API_KEY)
|