Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def greet (name): | |
| return f"Hello {name}! Welcome to my first Hugging Face Space." | |
| demo = gr.Interface( | |
| fn=greet, | |
| inputs=gr.Textbox(label="Enter your name"), | |
| outputs=gr.Textbox(label="Output"), | |
| title="My First Hugging Face Space", | |
| description="This is a simple Gradio app running on Hugging Face Spaces." | |
| ) | |
| if __name__=="__main__": | |
| demo.launch() | |