Bonnie422 commited on
Commit
4fea39c
1 Parent(s): 9baafa1

Update app.py

Browse files

在iface.launch()中设置share=True,这样Gradio会为你的应用自动生成一个公共URL,方便在Hugging Face Spaces上访问。

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,4 +61,4 @@ iface = gr.Interface(
61
  )
62
 
63
  if __name__ == "__main__":
64
- iface.launch()
 
61
  )
62
 
63
  if __name__ == "__main__":
64
+ iface.launch(share=True)