rrg92 commited on
Commit
23b4e49
0 Parent(s):
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+
4
+ def GetText():
5
+ return "Teste!"
6
+
7
+
8
+ with gr.Blocks() as demo:
9
+ btn = gr.Button("Click that button to start 2!")
10
+ fileResult = gr.Text();
11
+ btn.click( GetText, None, [fileResult] )
12
+
13
+
14
+ if __name__ == "__main__":
15
+ demo.launch(show_api=True)