Disable the Generate button
Browse files
app.py
CHANGED
|
@@ -179,7 +179,9 @@ with gr.Blocks(css=custom_css) as iface:
|
|
| 179 |
depth_map_blur_radius = gr.Number(
|
| 180 |
precision=0, value=10, visible=False)
|
| 181 |
|
| 182 |
-
|
|
|
|
|
|
|
| 183 |
|
| 184 |
with gr.Tab('Results'):
|
| 185 |
results = gr.Gallery(
|
|
|
|
| 179 |
depth_map_blur_radius = gr.Number(
|
| 180 |
precision=0, value=10, visible=False)
|
| 181 |
|
| 182 |
+
# Enable this button!
|
| 183 |
+
gen_button = gr.Button(
|
| 184 |
+
value="Generate!", variant="primary", interactive=False)
|
| 185 |
|
| 186 |
with gr.Tab('Results'):
|
| 187 |
results = gr.Gallery(
|