Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ import gradio as gr
|
|
5 |
from huggingface_hub import InferenceClient
|
6 |
from transformers import pipeline
|
7 |
|
8 |
-
|
|
|
9 |
|
10 |
"""
|
11 |
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
|
|
|
5 |
from huggingface_hub import InferenceClient
|
6 |
from transformers import pipeline
|
7 |
|
8 |
+
from huggingface_hub import login
|
9 |
+
login()
|
10 |
|
11 |
"""
|
12 |
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
|