LPX
commited on
Commit
·
adbccc5
1
Parent(s):
8380406
minor(ui)
Browse files
app.py
CHANGED
@@ -264,12 +264,13 @@ with gr.Blocks() as iface:
|
|
264 |
predict_button = gr.Button("Predict")
|
265 |
augment_button = gr.Button("Augment & Predict")
|
266 |
image_output = gr.Image(label="Processed Image", visible=False)
|
267 |
-
forensics_gallery = gr.Gallery(label="Post Processed Images", visible=True)
|
268 |
|
269 |
|
270 |
with gr.Column(scale=2):
|
271 |
# Custom HTML component to display results in 5 columns
|
272 |
results_html = gr.HTML(label="Model Predictions")
|
|
|
|
|
273 |
outputs = [image_output, forensics_gallery, results_html]
|
274 |
|
275 |
# Show/hide rotate slider based on selected augmentation method
|
|
|
264 |
predict_button = gr.Button("Predict")
|
265 |
augment_button = gr.Button("Augment & Predict")
|
266 |
image_output = gr.Image(label="Processed Image", visible=False)
|
|
|
267 |
|
268 |
|
269 |
with gr.Column(scale=2):
|
270 |
# Custom HTML component to display results in 5 columns
|
271 |
results_html = gr.HTML(label="Model Predictions")
|
272 |
+
forensics_gallery = gr.Gallery(label="Post Processed Images", visible=True)
|
273 |
+
|
274 |
outputs = [image_output, forensics_gallery, results_html]
|
275 |
|
276 |
# Show/hide rotate slider based on selected augmentation method
|