Spaces:
Sleeping

llbba commited on
Commit
6caeaf6
·
verified ·
1 Parent(s): b2023f0

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return f"Hello, {name}!"
5
+
6
+ # This automatically builds a simple UI with an input box, submit button, and output box
7
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+
9
+ demo.launch()