Spaces:
Runtime error
Runtime error
Samuelblue
commited on
Commit
•
ccf1217
1
Parent(s):
8abc43f
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ if API_BACKEND:
|
|
20 |
import asyncio
|
21 |
load_dotenv(Path(".env"))
|
22 |
|
23 |
-
HF_TOKEN = os.environ["HF_TOKEN"]
|
24 |
headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
25 |
API_URL = f'https://api-inference.huggingface.co/models/{MODEL}'
|
26 |
|
|
|
20 |
import asyncio
|
21 |
load_dotenv(Path(".env"))
|
22 |
|
23 |
+
HF_TOKEN = os.environ["HF_TOKEN"] = ""
|
24 |
headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
25 |
API_URL = f'https://api-inference.huggingface.co/models/{MODEL}'
|
26 |
|