Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
|
|
3 |
|
4 |
token = os.getenv("HF_TOKEN")
|
5 |
-
read_key = os.environ.get('hf_space_api_key', None)
|
6 |
|
7 |
-
gr.load("kairunwen/tmp",
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
import spaces
|
4 |
|
5 |
token = os.getenv("HF_TOKEN")
|
|
|
6 |
|
7 |
+
gr.load("kairunwen/tmp", hf_token=token, src="spaces").launch()
|