PatilShruti commited on
Commit
212d61a
·
verified ·
1 Parent(s): d393f6e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !pip install gradio
2
+ import gradio as gr
3
+
4
+
5
+ def greet(name):
6
+ return "Hello " + name + "!"
7
+
8
+
9
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
10
+
11
+ if __name__ == "__main__":
12
+ demo.launch()