From d6a54089222541525a494dc2d4ed68e0afcc19f8 Mon Sep 17 00:00:00 2001 From: Amy <1008611@qq.com> Date: Thu, 21 Aug 2025 17:33:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradio app.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 gradio app.py diff --git a/gradio app.py b/gradio app.py new file mode 100644 index 0000000..232df6e --- /dev/null +++ b/gradio app.py @@ -0,0 +1,7 @@ +import gradio as gr + +def greet(name): +return "Hello " + name + "!!" + +demo = gr.Interface(fn=greet, inputs="text", outputs="text") +demo.launch() \ No newline at end of file