EmilyWitko HF staff commited on
Commit
5a4cab5
1 Parent(s): 34a9268

Create gradio_app.py

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