Vihang28 commited on
Commit
5208bc8
·
verified ·
1 Parent(s): 1670d65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,8 +117,8 @@ with gr.Blocks(theme=gr.themes.Glass(primary_hue=gr.themes.colors.stone)) as dem
117
  with gr.Column():
118
  file_input = gr.File(type="filepath", label="Upload .pdf file")
119
  upload_button = gr.Button(value="Show Image Names")
120
- img_gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery", object_fit="contain", height="auto",allow_preview=True)
121
  output_img_name = gr.Textbox(label="Image names")
 
122
 
123
  # output_img_thumb = gr.Image(type="filepath",label="Image Thumbnail")
124
  # output_img_thumb = gr.Textbox(label="Image names")
 
117
  with gr.Column():
118
  file_input = gr.File(type="filepath", label="Upload .pdf file")
119
  upload_button = gr.Button(value="Show Image Names")
 
120
  output_img_name = gr.Textbox(label="Image names")
121
+ img_gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery", object_fit="contain", height="auto",allow_preview=True)
122
 
123
  # output_img_thumb = gr.Image(type="filepath",label="Image Thumbnail")
124
  # output_img_thumb = gr.Textbox(label="Image names")