Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ with block:
|
|
| 32 |
with gr.Row():
|
| 33 |
with gr.Column():
|
| 34 |
file_input = gr.File(type="filepath")
|
| 35 |
-
upload_button = gr.Button(value="Show")
|
| 36 |
# with gr.Column():
|
| 37 |
output_img_name = gr.Textbox(label="All Image names")
|
| 38 |
upload_button.click(pdf_to_img, inputs=file_input, outputs=output_img_name)
|
|
@@ -40,7 +40,7 @@ with block:
|
|
| 40 |
with gr.Row():
|
| 41 |
with gr.Column():
|
| 42 |
image_name = gr.Textbox(label="Mention Image to Show")
|
| 43 |
-
show_button = gr.Button(value="Show")
|
| 44 |
# with gr.Column():
|
| 45 |
output_img = gr.Image(type="filepath")
|
| 46 |
show_button.click(show_images, inputs=image_name, outputs=output_img)
|
|
|
|
| 32 |
with gr.Row():
|
| 33 |
with gr.Column():
|
| 34 |
file_input = gr.File(type="filepath")
|
| 35 |
+
upload_button = gr.Button(value="Show Image Names")
|
| 36 |
# with gr.Column():
|
| 37 |
output_img_name = gr.Textbox(label="All Image names")
|
| 38 |
upload_button.click(pdf_to_img, inputs=file_input, outputs=output_img_name)
|
|
|
|
| 40 |
with gr.Row():
|
| 41 |
with gr.Column():
|
| 42 |
image_name = gr.Textbox(label="Mention Image to Show")
|
| 43 |
+
show_button = gr.Button(value="Show Images")
|
| 44 |
# with gr.Column():
|
| 45 |
output_img = gr.Image(type="filepath")
|
| 46 |
show_button.click(show_images, inputs=image_name, outputs=output_img)
|