mingbaer commited on
Commit
4c398c4
·
verified ·
1 Parent(s): 985ecf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -87,8 +87,6 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as chatbot:
87
  )
88
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
89
  answer = gr.Textbox(label="Writing Tutor Response", placeholder="Writing Tutor will respond here...", interactive=False, lines=10)
90
- submit_button = gr.Button("Submit")
91
- submit_button.click(fn=query_model, inputs=question, outputs=answer)
92
  # chatbot = gr.ChatInterface(respond, type="messages")
93
 
94
  chatbot.launch()
 
87
  )
88
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
89
  answer = gr.Textbox(label="Writing Tutor Response", placeholder="Writing Tutor will respond here...", interactive=False, lines=10)
 
 
90
  # chatbot = gr.ChatInterface(respond, type="messages")
91
 
92
  chatbot.launch()