Spaces:
Build error
Build error
Commit
•
62baf56
1
Parent(s):
758e1e6
Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ HF_API_TOKEN = os.getenv("HF_API_TOKEN")
|
|
26 |
|
27 |
##Bloom Inference API
|
28 |
API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
|
29 |
-
|
30 |
-
headers = {"Authorization": f"Bearer {
|
31 |
|
32 |
print(API_URL)
|
33 |
print(HF_API_TOKEN)
|
|
|
26 |
|
27 |
##Bloom Inference API
|
28 |
API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
|
29 |
+
HF_API_TOKEN = os.environ["HF_API_TOKEN"]
|
30 |
+
headers = {"Authorization": f"Bearer {HF_API_TOKEN}"}
|
31 |
|
32 |
print(API_URL)
|
33 |
print(HF_API_TOKEN)
|