Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks() as demo:
|
|
65 |
input_image = gr.Image(default_input_image, shape=[256, 256])
|
66 |
options = sorted(os.listdir('online_demo/GSO/step-100_scale-6.0'))
|
67 |
img_id = gr.Dropdown(options, value='SAMBA_HEMP', label='options')
|
68 |
-
text_button = gr.Button("
|
69 |
retrieve_input_image_dataset = partial(retrieve_input_image, 'GSO')
|
70 |
text_button.click(retrieve_input_image_dataset, inputs=img_id, outputs=input_image)
|
71 |
|
@@ -89,7 +89,7 @@ with gr.Blocks() as demo:
|
|
89 |
input_image = gr.Image(default_input_image, shape=[256, 256])
|
90 |
options = sorted(os.listdir('online_demo/RTMV/step-100_scale-6.0'))
|
91 |
img_id = gr.Dropdown(options, value='00000', label='options')
|
92 |
-
text_button = gr.Button("
|
93 |
retrieve_input_image_dataset = partial(retrieve_input_image, 'RTMV')
|
94 |
text_button.click(retrieve_input_image_dataset, inputs=img_id, outputs=input_image)
|
95 |
|
|
|
65 |
input_image = gr.Image(default_input_image, shape=[256, 256])
|
66 |
options = sorted(os.listdir('online_demo/GSO/step-100_scale-6.0'))
|
67 |
img_id = gr.Dropdown(options, value='SAMBA_HEMP', label='options')
|
68 |
+
text_button = gr.Button("Load Input Image")
|
69 |
retrieve_input_image_dataset = partial(retrieve_input_image, 'GSO')
|
70 |
text_button.click(retrieve_input_image_dataset, inputs=img_id, outputs=input_image)
|
71 |
|
|
|
89 |
input_image = gr.Image(default_input_image, shape=[256, 256])
|
90 |
options = sorted(os.listdir('online_demo/RTMV/step-100_scale-6.0'))
|
91 |
img_id = gr.Dropdown(options, value='00000', label='options')
|
92 |
+
text_button = gr.Button("Load Input Image")
|
93 |
retrieve_input_image_dataset = partial(retrieve_input_image, 'RTMV')
|
94 |
text_button.click(retrieve_input_image_dataset, inputs=img_id, outputs=input_image)
|
95 |
|