DeepLearning101 commited on
Commit
16139b9
·
verified ·
1 Parent(s): 92f4fa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -162,12 +162,6 @@ with gr.Blocks() as iface:
162
 
163
  show_feedback_button.click(fn=show_feedback, outputs=feedback_display)
164
 
165
- demo = gr.Interface(
166
- fn=handle_user_input,
167
- inputs=user_input,
168
- outputs=response_output,
169
- examples=examples,
170
- live=True
171
- )
172
-
173
- demo.launch()
 
162
 
163
  show_feedback_button.click(fn=show_feedback, outputs=feedback_display)
164
 
165
+ gr.Examples(examples=examples, inputs=user_input)
166
+
167
+ iface.launch()