svjack commited on
Commit
1578d1a
·
1 Parent(s): 7f5b397

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -334,13 +334,14 @@ with gr.Blocks(css="custom.css") as demo:
334
  text_button = gr.Button("Retrieve Images", elem_id="run_button")
335
  #i = gr.Image(elem_id="result-image", label = "Image upload or selected", height = 768 - 256 - 32)
336
  with gr.Row():
337
- title = gr.Markdown(
338
- value="### Click on a Image in the gallery to select it",
339
- visible=True,
340
- elem_id="selected_model",
341
- )
342
- choose_model = gr.Radio(choices=["0", "1", "2", "3"],
343
- value="0", label="Choose embedding layer", elem_id="layer_radio")
 
344
  with gr.Row():
345
  g_outputs = gr.Gallery(label='Output gallery', elem_id="gallery",
346
  columns=[5],object_fit="contain", height="auto")
 
334
  text_button = gr.Button("Retrieve Images", elem_id="run_button")
335
  #i = gr.Image(elem_id="result-image", label = "Image upload or selected", height = 768 - 256 - 32)
336
  with gr.Row():
337
+ with gr.Column():
338
+ title = gr.Markdown(
339
+ value="### Click on a Image in the gallery to select it",
340
+ visible=True,
341
+ elem_id="selected_model",
342
+ )
343
+ choose_model = gr.Radio(choices=["0", "1", "2", "3"],
344
+ value="0", label="Choose embedding layer", elem_id="layer_radio")
345
  with gr.Row():
346
  g_outputs = gr.Gallery(label='Output gallery', elem_id="gallery",
347
  columns=[5],object_fit="contain", height="auto")