mingbaer commited on
Commit
22c0aed
·
verified ·
1 Parent(s): ab48007

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -79,14 +79,11 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as chatbot:
79
  with gr.Column():
80
  gr.Markdown(title)
81
  gr.Markdown(topics)
82
- with gr.Row():
83
- with gr.Column():
84
  gr.ChatInterface(
85
  fn=respond,
86
  type="messages"
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()
 
79
  with gr.Column():
80
  gr.Markdown(title)
81
  gr.Markdown(topics)
82
+ with gr.Column():
 
83
  gr.ChatInterface(
84
  fn=respond,
85
  type="messages"
86
  )
 
 
87
  # chatbot = gr.ChatInterface(respond, type="messages")
88
 
89
  chatbot.launch()