debug-error-500 / app.py
rrg92's picture
v1
23b4e49
raw
history blame
308 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)