Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1017,7 +1017,7 @@ with gr.Blocks(css=BASE_CSS, title="ForgeCaptions") as demo:
|
|
| 1017 |
columns=5,
|
| 1018 |
height=220,
|
| 1019 |
)
|
| 1020 |
-
|
| 1021 |
run_button = gr.Button("Caption batch", variant="primary")
|
| 1022 |
|
| 1023 |
|
|
|
|
| 1017 |
columns=5,
|
| 1018 |
height=220,
|
| 1019 |
)
|
| 1020 |
+
input_files.change(on_files_changed, inputs=[input_files], outputs=[preview_gallery])
|
| 1021 |
run_button = gr.Button("Caption batch", variant="primary")
|
| 1022 |
|
| 1023 |
|