Spaces:
Sleeping
Sleeping
| #!/usr/bin/env python | |
| import gradio as gr | |
| def greet(text): | |
| return text | |
| with gr.Blocks() as demo: | |
| input = gr.TextArea() | |
| output = gr.TextArea() | |
| gr.Button().click(fn=greet, inputs=input, outputs=output) | |
| demo.launch(debug=True) |