Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
|
|
|
| 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")
|