John6666 commited on
Commit
eed4537
·
verified ·
1 Parent(s): f26fd20

Upload 3 files

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. template/app.py +1 -1
app.py CHANGED
@@ -43,4 +43,4 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
43
  )
44
 
45
  demo.queue()
46
- demo.launch()
 
43
  )
44
 
45
  demo.queue()
46
+ demo.launch(ssr_mode=False)
template/app.py CHANGED
@@ -1,3 +1,3 @@
1
  import gradio as gr
2
  import os
3
- demo = gr.load("{repo_id}", src="models", hf_token=os.environ.get("HF_TOKEN"), examples=None).launch()
 
1
  import gradio as gr
2
  import os
3
+ demo = gr.load("{repo_id}", src="models", hf_token=os.environ.get("HF_TOKEN"), examples=None).launch(ssr_mode=False)