Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
|
|
|
|
|
17 |
|
18 |
# 创建Gradio界面
|
19 |
iface = gr.Interface(fn=generate_text, inputs="text", outputs="text")
|
20 |
+
|
21 |
+
# 启动Gradio界面并共享链接
|
22 |
+
iface.launch(share=True)
|