Bryceeee commited on
Commit
e9dfdf1
·
verified ·
1 Parent(s): a988459

Create test_app.py

Browse files
Files changed (1) hide show
  1. test_app.py +7 -0
test_app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # test_app.py(用于测试)
2
+ import gradio as gr
3
+
4
+ def hello(name):
5
+ return f"Hello {name}!"
6
+
7
+ demo = gr.Interface(fn=hello, inputs="text", outputs="text")