Jay Silverman commited on
Commit
0539544
·
1 Parent(s): 51499a1

random test

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