Borg93 commited on
Commit
688de79
·
unverified ·
1 Parent(s): ee5774c

Update submit.py

Browse files
Files changed (1) hide show
  1. app/tabs/submit.py +18 -19
app/tabs/submit.py CHANGED
@@ -287,26 +287,25 @@ with gr.Blocks() as submit:
287
 
288
  with gr.Tab("IIIF Manifest"):
289
  with gr.Group():
290
- iiif_manifest_url = gr.Textbox(
291
- label="IIIF Manifest",
292
- info=(
293
- "Use an image from a IIIF manifest by pasting a IIIF manifest URL. Press enter to submit."
294
- ),
295
- placeholder="",
296
- scale=0
297
- )
298
- max_images_iiif_manifest= gr.Number(value=20, min_width=50, scale=0,
299
- label="Number of image to return from IIIF manifest",
300
- minimum=1, visible=False)
301
-
302
- iiif_gallery = gr.Gallery(
303
- interactive=False,
304
- columns=4,
305
- allow_preview=False,
306
- container=False,
307
- show_label=False,
308
- object_fit="scale-down",
309
  )
 
 
 
 
 
 
 
 
 
 
 
310
 
311
  with gr.Tab("URL"):
312
  image_url = gr.Textbox(
 
287
 
288
  with gr.Tab("IIIF Manifest"):
289
  with gr.Group():
290
+ iiif_manifest_url = gr.Textbox(
291
+ label="IIIF Manifest",
292
+ info=(
293
+ "Use an image from a IIIF manifest by pasting a IIIF manifest URL. Press enter to submit."
294
+ ),
295
+ placeholder="",
296
+ scale=0
 
 
 
 
 
 
 
 
 
 
 
 
297
  )
298
+ max_images_iiif_manifest= gr.Number(value=20, min_width=50, scale=0,
299
+ label="Number of image to return from IIIF manifest",
300
+ minimum=1, visible=False)
301
+ iiif_gallery = gr.Gallery(
302
+ interactive=False,
303
+ columns=4,
304
+ allow_preview=False,
305
+ container=False,
306
+ show_label=False,
307
+ object_fit="scale-down",
308
+ )
309
 
310
  with gr.Tab("URL"):
311
  image_url = gr.Textbox(