test-inner / app.py
beth594's picture
Update app.py
9ffbf88 verified
raw
history blame contribute delete
238 Bytes
#!/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)