Spaces:
Sleeping
Sleeping
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) |