| import gradio as gr | |
| def say_hello(name): | |
| return f"Hello {name}, this is your Hugging Face AI!" | |
| demo = gr.Interface(fn=say_hello, inputs="text", outputs="text", title="Test AI") | |
| demo.launch() |
| import gradio as gr | |
| def say_hello(name): | |
| return f"Hello {name}, this is your Hugging Face AI!" | |
| demo = gr.Interface(fn=say_hello, inputs="text", outputs="text", title="Test AI") | |
| demo.launch() |