taotao577 commited on
Commit
eb35d2b
1 Parent(s): 7c54c50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -88,4 +88,6 @@ with gr.Blocks() as demo:
88
  gr.Markdown('"manju": "ume yabure,ubade emu erin buda be jejfi jai yabuki.", "chinese": "别走了,在这吃了饭再走吧。"')
89
  text_button1.click(manjuToChinese, inputs=text_input1, outputs=text_output1)
90
  text_button2.click(chineseToManju, inputs=text_input2, outputs=text_output2)
91
- demo.launch()
 
 
 
88
  gr.Markdown('"manju": "ume yabure,ubade emu erin buda be jejfi jai yabuki.", "chinese": "别走了,在这吃了饭再走吧。"')
89
  text_button1.click(manjuToChinese, inputs=text_input1, outputs=text_output1)
90
  text_button2.click(chineseToManju, inputs=text_input2, outputs=text_output2)
91
+
92
+ if __name__ == "__main__":
93
+ demo.launch()