Spaces:
Sleeping
Sleeping
Sathwik P commited on
Commit ·
3cd80ad
1
Parent(s): 03da8b5
Fix Gallery parameter for local Gradio compatibility
Browse files
app.py
CHANGED
|
@@ -369,8 +369,7 @@ with gr.Blocks(title="🚌 Bus Inspection Classifier") as demo:
|
|
| 369 |
columns=2, # Reduced from 3 to show larger images
|
| 370 |
rows=4, # Increased rows
|
| 371 |
height=600, # Fixed height for better scrolling
|
| 372 |
-
object_fit="contain"
|
| 373 |
-
show_download_button=True
|
| 374 |
)
|
| 375 |
|
| 376 |
# JSON output for API/detailed results
|
|
|
|
| 369 |
columns=2, # Reduced from 3 to show larger images
|
| 370 |
rows=4, # Increased rows
|
| 371 |
height=600, # Fixed height for better scrolling
|
| 372 |
+
object_fit="contain"
|
|
|
|
| 373 |
)
|
| 374 |
|
| 375 |
# JSON output for API/detailed results
|