Spaces:
Runtime error
Runtime error
Commit
·
9c88220
1
Parent(s):
3e869f6
Update app.py
Browse filesundone everything here
app.py
CHANGED
|
@@ -62,10 +62,9 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
|
|
| 62 |
)
|
| 63 |
check = gr.Checkbox(label="Go")
|
| 64 |
with gr.Column(variant="panel", scale=2):
|
| 65 |
-
|
| 66 |
img = gr.Image(
|
| 67 |
-
|
| 68 |
-
"https://gradio.app/assets/img/header-image.jpg",
|
| 69 |
label="Image",
|
| 70 |
).style(height=320)
|
| 71 |
with gr.Row():
|
|
@@ -74,10 +73,10 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
|
|
| 74 |
"Clear", label="Secondary Button", variant="secondary"
|
| 75 |
)
|
| 76 |
|
| 77 |
-
|
| 78 |
def go(*args):
|
| 79 |
time.sleep(3)
|
| 80 |
-
return "https://
|
| 81 |
|
| 82 |
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
| 83 |
|
|
|
|
| 62 |
)
|
| 63 |
check = gr.Checkbox(label="Go")
|
| 64 |
with gr.Column(variant="panel", scale=2):
|
| 65 |
+
|
| 66 |
img = gr.Image(
|
| 67 |
+
"https://i.ibb.co/F4hKFrZ/dark-miku.webp",
|
|
|
|
| 68 |
label="Image",
|
| 69 |
).style(height=320)
|
| 70 |
with gr.Row():
|
|
|
|
| 73 |
"Clear", label="Secondary Button", variant="secondary"
|
| 74 |
)
|
| 75 |
|
| 76 |
+
|
| 77 |
def go(*args):
|
| 78 |
time.sleep(3)
|
| 79 |
+
return "https://i.ibb.co/0rfK9Wm/light-miku-faded.webp"
|
| 80 |
|
| 81 |
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
| 82 |
|