LPX
commited on
Commit
·
c9bd39d
1
Parent(s):
60f36aa
minor: ui
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def predict_image_with_html(img, confidence_threshold, augment_methods, rotate_d
|
|
245 |
html_content = generate_results_html(results)
|
246 |
return img_pil, forensics_images, html_content
|
247 |
|
248 |
-
with gr.Blocks(css="#post-gallery { overflow: hidden !important; }") as iface:
|
249 |
with gr.Accordion("Project OpenSight - Model Evaluations & Playground", open=False, elem_id="project_accordion"):
|
250 |
gr.Markdown("## OpenSight is a SOTA gen. image detection model, in pre-release prep.\n\nThis HF Space is a temporary home for us and the public to evaluate the shortcomings of current open source models.\n\n<-- Feel free to play around by starting with an image as we prepare our formal announcement.")
|
251 |
with gr.Tab("AI Image Detection"):
|
|
|
245 |
html_content = generate_results_html(results)
|
246 |
return img_pil, forensics_images, html_content
|
247 |
|
248 |
+
with gr.Blocks(css="#post-gallery { overflow: hidden !important;} .grid-wrap{ overflow-y: hidden !important;}") as iface:
|
249 |
with gr.Accordion("Project OpenSight - Model Evaluations & Playground", open=False, elem_id="project_accordion"):
|
250 |
gr.Markdown("## OpenSight is a SOTA gen. image detection model, in pre-release prep.\n\nThis HF Space is a temporary home for us and the public to evaluate the shortcomings of current open source models.\n\n<-- Feel free to play around by starting with an image as we prepare our formal announcement.")
|
251 |
with gr.Tab("AI Image Detection"):
|