debug-error-500 / app.py
rrg92's picture
v1
e334462
raw
history blame contribute delete
324 Bytes
import gradio as gr
def GetText():
return "Teste!"
with gr.Blocks() as demo:
btn = gr.Button("Click that button to start 2!")
fileResult = gr.Text();
btn.click( GetText, None, [fileResult] )
if __name__ == "__main__":
demo.launch(show_api=True, ssr_mode=False)