abidlabs HF Staff commited on
Commit
86e0111
·
verified ·
1 Parent(s): 07e3b89

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ import gradio as gr
4
+
5
+
6
+ def greet(name):
7
+ return f"Hello {name}!"
8
+
9
+
10
+ demo = gr.Interface(
11
+ fn=greet, inputs=gr.Textbox(label="Your name"), outputs=gr.Textbox(label="Greeting")
12
+ )
13
+
14
+ demo.launch()