Dibiddo commited on
Commit
02da15b
·
verified ·
1 Parent(s): 64ba96c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -17,4 +17,6 @@ def generate_text(prompt):
17
 
18
  # 创建Gradio界面
19
  iface = gr.Interface(fn=generate_text, inputs="text", outputs="text")
20
- iface.launch()
 
 
 
17
 
18
  # 创建Gradio界面
19
  iface = gr.Interface(fn=generate_text, inputs="text", outputs="text")
20
+
21
+ # 启动Gradio界面并共享链接
22
+ iface.launch(share=True)