kairunwen commited on
Commit
05a0d9f
·
1 Parent(s): 8d30a17

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", api_key=read_key, hf_token=token, src="spaces").launch()
 
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()