Spaces:
Running
Running
YaserDS-777
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ api_token = os.getenv("HUGGINGFACE_API_TOKEN")
|
|
7 |
|
8 |
# Check if the API token is set
|
9 |
|
10 |
-
|
11 |
if not api_token:
|
12 |
raise ValueError("API token is not set. Please set the HUGGINGFACE_API_TOKEN environment variable.")
|
13 |
|
|
|
7 |
|
8 |
# Check if the API token is set
|
9 |
|
10 |
+
|
11 |
if not api_token:
|
12 |
raise ValueError("API token is not set. Please set the HUGGINGFACE_API_TOKEN environment variable.")
|
13 |
|