eteron commited on
Commit
d9d666a
·
1 Parent(s): 66b4834

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import random
3
 
4
- def predict(name):
5
  return random.choice(["Гаф гаф!", "Гаф"])
6
 
7
  interface = gr.ChatInterface(predict)
 
1
  import gradio as gr
2
  import random
3
 
4
+ def predict(message, history):
5
  return random.choice(["Гаф гаф!", "Гаф"])
6
 
7
  interface = gr.ChatInterface(predict)