mingbaer commited on
Commit
bfcb0e5
·
verified ·
1 Parent(s): 96bb21e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -81,14 +81,14 @@ with gr.Blocks() as chatbot:
81
  gr.Markdown(topics)
82
  with gr.Tabs():
83
  with gr.TabItem("Writing Tutor")
84
- with gr.Column():
85
- gr.ChatInterface(
86
- fn=respond,
87
- type="messages",
88
- examples = [
89
- "What is a thesis statement and how do I write one?",
90
- "What should I include in my introduction paragraph?",
91
- "I finished my body paragraphs. How can I end my essay?"
92
  ]
93
  )
94
  # chatbot = gr.ChatInterface(respond, type="messages")
 
81
  gr.Markdown(topics)
82
  with gr.Tabs():
83
  with gr.TabItem("Writing Tutor")
84
+ with gr.Column():
85
+ gr.ChatInterface(
86
+ fn=respond,
87
+ type="messages",
88
+ examples = [
89
+ "What is a thesis statement and how do I write one?",
90
+ "What should I include in my introduction paragraph?",
91
+ "I finished my body paragraphs. How can I end my essay?"
92
  ]
93
  )
94
  # chatbot = gr.ChatInterface(respond, type="messages")