Caslow commited on
Commit
a6d228d
·
1 Parent(s): 620a72c
Files changed (2) hide show
  1. app.py +9 -0
  2. requirement.txt +0 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import random
3
+
4
+ def random_response(message, history):
5
+ return random.choice(['y', 'n'])
6
+
7
+ if __name__ == "__main__":
8
+ demo = gr.ChatInterface(random_response)
9
+ demo.launch()
requirement.txt ADDED
File without changes