| import gradio as gr | |
| def hello(name): | |
| return f"Hello, {name}!" | |
| demo = gr.Interface( | |
| fn=hello, | |
| inputs="text", | |
| outputs="text", | |
| title="Space Reset Test" | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() |
| import gradio as gr | |
| def hello(name): | |
| return f"Hello, {name}!" | |
| demo = gr.Interface( | |
| fn=hello, | |
| inputs="text", | |
| outputs="text", | |
| title="Space Reset Test" | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() |