Skip to content

Commit 02b59bf

Browse files
committed
added sample app.py to test before actual app.py
1 parent d5daefc commit 02b59bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import gradio as gr
2+
3+
def greet(name):
4+
return "Hello " + name + "!!"
5+
6+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7+
demo.launch()

0 commit comments

Comments
 (0)