rdezwart commited on
Commit
5756dad
1 Parent(s): dc02b73

Create app.py

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