jam134 commited on
Commit
79c8e9e
·
verified ·
1 Parent(s): 7024d57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,4 +27,5 @@ iface = gr.Interface(
27
  )
28
 
29
  # 啟動 Gradio 接口並啟用 API
30
- iface.launch(share=True, debug=True, server_name="0.0.0.0", server_port=7860)
 
 
27
  )
28
 
29
  # 啟動 Gradio 接口並啟用 API
30
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
31
+ iface.launch()