Tom Beer commited on
Commit
5f60760
1 Parent(s): 74a45ac

Add application file

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