bizarrotot commited on
Commit
952c270
1 Parent(s): d40947b

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import random
2
+ import gradio as gr
3
+
4
+ def random_response(message, history):
5
+ return random.choice(["Yes", "No"])
6
+
7
+
8
+ gr.ChatInterface(random_response).launch()