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

Upload app.py

Browse files

First answering functionality!

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