yash33123 commited on
Commit
9bc2bf0
·
verified ·
1 Parent(s): 12a878a

Upload 2 files

Browse files
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(["Yes", "No"])
6
+ gr.ChatInterface(
7
+ fn=random_response,
8
+ type="messages"
9
+ ).launch()
requirement.txt ADDED
Binary file (16.1 kB). View file