Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import io
|
|
7 |
import os
|
8 |
|
9 |
# Load Hugging Face API key securely
|
10 |
-
HF_API_KEY = os.getenv("HF_API_KEY")
|
11 |
if not HF_API_KEY:
|
12 |
raise ValueError("HF_API_KEY is not set. Add it in Hugging Face 'Variables and Secrets'.")
|
13 |
|
|
|
7 |
import os
|
8 |
|
9 |
# Load Hugging Face API key securely
|
10 |
+
HF_API_KEY = os.getenv("HF_API_KEY") # give token
|
11 |
if not HF_API_KEY:
|
12 |
raise ValueError("HF_API_KEY is not set. Add it in Hugging Face 'Variables and Secrets'.")
|
13 |
|