Spaces:
Paused
Paused
tower images for dem
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from gradio.themes.utils.theme_dropdown import create_theme_dropdown
|
|
| 5 |
|
| 6 |
dropdown, js = create_theme_dropdown()
|
| 7 |
|
| 8 |
-
with gr.Blocks(theme=
|
| 9 |
with gr.Row().style(equal_height=True):
|
| 10 |
with gr.Column(scale=10):
|
| 11 |
gr.Markdown(
|
|
@@ -63,7 +63,7 @@ with gr.Blocks(theme='earneleh/paris') as demo:
|
|
| 63 |
check = gr.Checkbox(label="Go")
|
| 64 |
with gr.Column(variant="panel", scale=2):
|
| 65 |
img = gr.Image(
|
| 66 |
-
"https://
|
| 67 |
label="Image",
|
| 68 |
).style(height=320)
|
| 69 |
with gr.Row():
|
|
@@ -74,7 +74,7 @@ with gr.Blocks(theme='earneleh/paris') as demo:
|
|
| 74 |
|
| 75 |
def go(*args):
|
| 76 |
time.sleep(3)
|
| 77 |
-
return "https://
|
| 78 |
|
| 79 |
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
| 80 |
|
|
|
|
| 5 |
|
| 6 |
dropdown, js = create_theme_dropdown()
|
| 7 |
|
| 8 |
+
with gr.Blocks(theme="earneleh/paris") as demo:
|
| 9 |
with gr.Row().style(equal_height=True):
|
| 10 |
with gr.Column(scale=10):
|
| 11 |
gr.Markdown(
|
|
|
|
| 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/tower.jpg",
|
| 67 |
label="Image",
|
| 68 |
).style(height=320)
|
| 69 |
with gr.Row():
|
|
|
|
| 74 |
|
| 75 |
def go(*args):
|
| 76 |
time.sleep(3)
|
| 77 |
+
return "https://gradio-static-files.s3.us-west-2.amazonaws.com/tower.jpg"
|
| 78 |
|
| 79 |
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
| 80 |
|