Udbenekdkh commited on
Commit
04ed71a
·
verified ·
1 Parent(s): b96b32d

Upload app.py

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
+ def greet(name):
4
+ return f"Hello, {name}!"
5
+
6
+ app = gr.Interface(
7
+ fn=greet,
8
+ inputs=gr.Textbox(label="Enter your name"),
9
+ outputs=gr.Textbox(label="Greeting"),
10
+ title="Hello Name App"
11
+ )
12
+
13
+ app.launch()
14
+