Spaces:
Runtime error
Runtime error
Dacho688
commited on
Commit
·
f07903a
1
Parent(s):
5a51ec9
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
import spaces
|
4 |
from huggingface_hub import InferenceClient,login
|
5 |
|
|
|
6 |
client=InferenceClient()
|
7 |
|
8 |
@spaces.GPU
|
|
|
3 |
import spaces
|
4 |
from huggingface_hub import InferenceClient,login
|
5 |
|
6 |
+
login(os.getenv("HUGGINGFACEHUB_API_TOKEN"))
|
7 |
client=InferenceClient()
|
8 |
|
9 |
@spaces.GPU
|