Toilatop1sever commited on
Commit
500cb7c
·
verified ·
1 Parent(s): 655ff85

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def hello(name):
4
+ return f"Xin chào {name}, Space đang chạy bình thường!"
5
+
6
+ demo = gr.Interface(fn=hello, inputs="text", outputs="text", title="Test Space")
7
+
8
+ if __name__ == "__main__":
9
+ demo.launch(server_name="0.0.0.0", server_port=7860)
10
+