xeeshan commited on
Commit
4843501
·
1 Parent(s): 3ac6133

Add demo application file for gradio

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ def greet(name):
3
+ return "Hello " + name + "!!"
4
+
5
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
6
+ demo.launch()