mingbaer commited on
Commit
c57fbbd
·
verified ·
1 Parent(s): c3ec261

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -93,6 +93,8 @@ with gr.Blocks() as chatbot:
93
  "What should I include in my introduction paragraph?",
94
  "I finished my body paragraphs. How can I end my essay?"
95
  ]
 
 
96
  )
97
  # chatbot = gr.ChatInterface(respond, type="messages")
98
 
 
93
  "What should I include in my introduction paragraph?",
94
  "I finished my body paragraphs. How can I end my essay?"
95
  ]
96
+ submit_button = gr.Button("Submit")
97
+ submit_button.click(fn=respond, inputs=message, outputs=gr.Textbox, interactive=False, lines=10)
98
  )
99
  # chatbot = gr.ChatInterface(respond, type="messages")
100