YaserDS-777
commited on
Commit
•
8d23d11
1
Parent(s):
4c5cca3
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,6 @@ from transformers import pipeline
|
|
6 |
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 |
|
|
|
6 |
api_token = os.getenv("HUGGINGFACE_API_TOKEN")
|
7 |
|
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.")
|
11 |
|