ethix commited on
Commit
3933565
·
1 Parent(s): 407a629
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -508,11 +508,11 @@ with gr.Blocks() as iface:
508
  with gr.Row():
509
  with gr.Column(scale=1):
510
  image_input = gr.Image(label="Upload Image to Analyze", sources=['upload'], type='pil')
511
- with gr.Accordion("Settings", open=False, element_id="settings_accordion"):
512
  confidence_slider = gr.Slider(0.0, 1.0, value=0.5, step=0.01, label="Confidence Threshold")
513
  inputs = [image_input, confidence_slider]
514
  with gr.Column(scale=2):
515
- with gr.Accordion("Project OpenSight - Model Evaluations & Playground", open=True, element_id="project_accordion"):
516
  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.")
517
  image_output = gr.Image(label="Processed Image", visible=False)
518
  # Custom HTML component to display results in 5 columns
 
508
  with gr.Row():
509
  with gr.Column(scale=1):
510
  image_input = gr.Image(label="Upload Image to Analyze", sources=['upload'], type='pil')
511
+ with gr.Accordion("Settings", open=False, elem_id="settings_accordion"):
512
  confidence_slider = gr.Slider(0.0, 1.0, value=0.5, step=0.01, label="Confidence Threshold")
513
  inputs = [image_input, confidence_slider]
514
  with gr.Column(scale=2):
515
+ with gr.Accordion("Project OpenSight - Model Evaluations & Playground", open=True, elem_id="project_accordion"):
516
  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.")
517
  image_output = gr.Image(label="Processed Image", visible=False)
518
  # Custom HTML component to display results in 5 columns