AriniR commited on
Commit
5acce1c
·
verified ·
1 Parent(s): 5f4960e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,8 +1,11 @@
1
  import gradio as gr
 
2
 
3
 
4
  def echo (message, history):
 
5
  return message
 
6
  chatbot = gr.ChatInterface(echo)
7
 
8
 
 
1
  import gradio as gr
2
+ import random
3
 
4
 
5
  def echo (message, history):
6
+ choices = ('yes','no')
7
  return message
8
+ choices.random()
9
  chatbot = gr.ChatInterface(echo)
10
 
11