Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import requests
|
|
4 |
import os
|
5 |
|
6 |
TOKEN = os.getenv("HUGGINGFACE_API_TOKEN_V")
|
7 |
-
print('----------------',
|
8 |
# Check if the API token is set
|
9 |
if not api_token:
|
10 |
raise ValueError("API token is not set. Please set the HUGGINGFACE_API_TOKEN environment variable.")
|
|
|
4 |
import os
|
5 |
|
6 |
TOKEN = os.getenv("HUGGINGFACE_API_TOKEN_V")
|
7 |
+
print('----------------',TOKEN,'-----------------')
|
8 |
# Check if the API token is set
|
9 |
if not api_token:
|
10 |
raise ValueError("API token is not set. Please set the HUGGINGFACE_API_TOKEN environment variable.")
|