Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -107,7 +107,7 @@ async def root(item: Item):
|
|
107 |
|
108 |
token = os.environ.get("huggingface_token")
|
109 |
if token:
|
110 |
-
print(
|
111 |
API_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-cnn"
|
112 |
headers = {'Authorization': token}
|
113 |
|
|
|
107 |
|
108 |
token = os.environ.get("huggingface_token")
|
109 |
if token:
|
110 |
+
print(token)
|
111 |
API_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-cnn"
|
112 |
headers = {'Authorization': token}
|
113 |
|