Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks() as demo:
|
|
105 |
with gr.Column():
|
106 |
version_gallery = gr.Gallery(label="Versions", type="pil", object_fit='contain', visible=False)
|
107 |
restore_button = gr.Button("Restore Version", visible=False)
|
108 |
-
selected = gr.Number(show_label=False, visible=
|
109 |
|
110 |
|
111 |
version_gallery.select(get_select_index, None, selected)
|
|
|
105 |
with gr.Column():
|
106 |
version_gallery = gr.Gallery(label="Versions", type="pil", object_fit='contain', visible=False)
|
107 |
restore_button = gr.Button("Restore Version", visible=False)
|
108 |
+
selected = gr.Number(show_label=False, visible=False)
|
109 |
|
110 |
|
111 |
version_gallery.select(get_select_index, None, selected)
|