fdbw commited on
Commit
35dfd1b
·
verified ·
1 Parent(s): 455cd61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,4 +34,4 @@ with gr.Blocks(title="冯氏家谱机器人") as demo:
34
  msg = gr.Textbox(label="输入问题", placeholder="例:冯达尊生于何时何地?")
35
  msg.submit(chat, [msg, chatbot], [msg, chatbot])
36
 
37
- demo.launch()
 
34
  msg = gr.Textbox(label="输入问题", placeholder="例:冯达尊生于何时何地?")
35
  msg.submit(chat, [msg, chatbot], [msg, chatbot])
36
 
37
+ demo.launch(share=True, server_name="0.0.0.0", server_port=7860)