asserr commited on
Commit
3025df0
·
1 Parent(s): c09f5c5

Add application file

Browse files
Files changed (2) hide show
  1. app.py +10 -0
  2. requirements.txt.txt +0 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ if name.lower() == "mai":
5
+ return "Mai is the cutest girl in the world!"
6
+ else:
7
+ return f"Hello {name},fuck you, Mai is still the best!"
8
+
9
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
10
+ demo.launch()
requirements.txt.txt ADDED
File without changes