Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ with gr.Blocks(theme='gradio/soft') as demo:
|
|
63 |
check = gr.Checkbox(label="Go")
|
64 |
with gr.Column(variant="panel", scale=2):
|
65 |
img = gr.Image(
|
66 |
-
"https://gradio.
|
67 |
).style(height=320)
|
68 |
with gr.Row():
|
69 |
go_btn = gr.Button("Go", label="Primary Button", variant="primary")
|
@@ -73,7 +73,7 @@ with gr.Blocks(theme='gradio/soft') as demo:
|
|
73 |
|
74 |
def go(*args):
|
75 |
time.sleep(3)
|
76 |
-
return "https://gradio.
|
77 |
|
78 |
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
79 |
|
|
|
63 |
check = gr.Checkbox(label="Go")
|
64 |
with gr.Column(variant="panel", scale=2):
|
65 |
img = gr.Image(
|
66 |
+
"https://gradio-static-files.s3.us-west-2.amazonaws.com/header-image.jpg", label="Image"
|
67 |
).style(height=320)
|
68 |
with gr.Row():
|
69 |
go_btn = gr.Button("Go", label="Primary Button", variant="primary")
|
|
|
73 |
|
74 |
def go(*args):
|
75 |
time.sleep(3)
|
76 |
+
return "https://gradio-static-files.s3.us-west-2.amazonaws.com/header-image.jpg"
|
77 |
|
78 |
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
79 |
|