Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,8 @@ def launch_app():
|
|
60 |
cleaned_file_output = gr.File(label="Cleaned CSV", visible=True)
|
61 |
|
62 |
with gr.Row():
|
63 |
-
output_gallery = gr.Gallery(label="Visualization Results", show_label=True, elem_id="gallery", columns=[
|
64 |
-
rows=[
|
65 |
|
66 |
def process_and_show_results(file):
|
67 |
cleaned_csv_path, image_files = clean_and_visualize(file, progress=progress_bar)
|
|
|
60 |
cleaned_file_output = gr.File(label="Cleaned CSV", visible=True)
|
61 |
|
62 |
with gr.Row():
|
63 |
+
output_gallery = gr.Gallery(label="Visualization Results", show_label=True, elem_id="gallery", columns=[1],
|
64 |
+
rows=[1], object_fit="contain", height="auto")
|
65 |
|
66 |
def process_and_show_results(file):
|
67 |
cleaned_csv_path, image_files = clean_and_visualize(file, progress=progress_bar)
|