Spaces:
Paused
Paused
debug
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from huggingface_hub import InferenceClient, login
|
| 3 |
import os
|
| 4 |
|
| 5 |
-
login(token=os.environ
|
| 6 |
|
| 7 |
"""
|
| 8 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
|
|
|
| 2 |
from huggingface_hub import InferenceClient, login
|
| 3 |
import os
|
| 4 |
|
| 5 |
+
login(token=os.environ["HUGGINGFACEHUB_API_TOKEN"])
|
| 6 |
|
| 7 |
"""
|
| 8 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|