Spaces:
Running
Running
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_API_KEY"]
|
9 |
|
10 |
# Initialize the Hugging Face Inference Client
|
11 |
client = InferenceClient(api_key=API_KEY)
|