Spaces:
Runtime error
Runtime error
Threatthriver
commited on
Commit
•
a9dcc32
1
Parent(s):
cea70da
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
from typing import List, Tuple, Optional
|
7 |
|
8 |
# Retrieve API key from environment variable
|
9 |
-
api_key = os.getenv('
|
10 |
if not api_key:
|
11 |
raise ValueError("API key not found. Please set the HFTOKEN environment variable.")
|
12 |
|
|
|
6 |
from typing import List, Tuple, Optional
|
7 |
|
8 |
# Retrieve API key from environment variable
|
9 |
+
api_key = os.getenv('HF_TOKEN')
|
10 |
if not api_key:
|
11 |
raise ValueError("API key not found. Please set the HFTOKEN environment variable.")
|
12 |
|