Spaces:
Running
Running
fix: Gallery
Browse files
app.py
CHANGED
@@ -124,9 +124,6 @@ with gr.Blocks() as demo:
|
|
124 |
height=600,
|
125 |
object_fit="contain",
|
126 |
preview=True,
|
127 |
-
show_download_button=True, # 显示下载按钮
|
128 |
-
show_fullscreen_button=True, # 显示全屏按钮
|
129 |
-
allow_preview=True, # 允许预览(包括全屏查看)
|
130 |
)
|
131 |
selected_index = gr.State(None)
|
132 |
pdf_input.upload(fn=process_pdf, inputs=pdf_input, outputs=image_gallery)
|
|
|
124 |
height=600,
|
125 |
object_fit="contain",
|
126 |
preview=True,
|
|
|
|
|
|
|
127 |
)
|
128 |
selected_index = gr.State(None)
|
129 |
pdf_input.upload(fn=process_pdf, inputs=pdf_input, outputs=image_gallery)
|