Spaces:
Runtime error
Runtime error
bryanjeshua
commited on
Commit
·
d7dc582
1
Parent(s):
c834e14
try deploy WITH interface
Browse files
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
import os
|
2 |
from gradio_client import Client
|
|
|
3 |
HF_token = os.environ.get('HF_token')
|
4 |
-
client = Client('bryanjeshua/rehabily', hf_token=HF_token )
|
|
|
|
1 |
import os
|
2 |
from gradio_client import Client
|
3 |
+
import gradio
|
4 |
HF_token = os.environ.get('HF_token')
|
5 |
+
# client = Client('bryanjeshua/rehabily', hf_token=HF_token )
|
6 |
+
gradio.Interface.load("rehabily", src='spaces', api_key=HF_token)
|