Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|