Pengi5659 commited on
Commit
0c3caba
·
verified ·
1 Parent(s): 479a5ae

Update app.py

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