Spaces:
Running
Running
Update run.py
Browse files
run.py
CHANGED
@@ -6,8 +6,8 @@ def increase(num):
|
|
6 |
with gr.Blocks() as demo:
|
7 |
a = gr.Number(label="a")
|
8 |
b = gr.Number(label="b")
|
9 |
-
|
10 |
-
|
11 |
atob.click(increase, a, b)
|
12 |
btoa.click(increase, b, a)
|
13 |
|
|
|
6 |
with gr.Blocks() as demo:
|
7 |
a = gr.Number(label="a")
|
8 |
b = gr.Number(label="b")
|
9 |
+
atob = gr.Button("a > b")
|
10 |
+
btoa = gr.Button("b > a")
|
11 |
atob.click(increase, a, b)
|
12 |
btoa.click(increase, b, a)
|
13 |
|