Atreum commited on
Commit
a5c25d5
1 Parent(s): 416195d

answer_input.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Authenticated"
5
+
6
+ with gr.Blocks() as demo:
7
+ name = gr.Textbox(label="Name")
8
+ output = gr.Textbox(label="Output Box")
9
+ greet_btn = gr.Button("Greet")
10
+ greet_btn.click(fn=greet, inputs=name, outputs=output)