abidlabs HF Staff commited on
Commit
1905f87
·
1 Parent(s): 8e35f2f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks() as demo:
4
+ a = gr.Textbox()
5
+ b = gr.Textbox()
6
+ c = gr.Textbox()
7
+
8
+ a.change(lambda x:2*x, a, b)
9
+ a.change(lambda x:3*x, a, c)
10
+
11
+ demo.launch()