Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,12 +108,12 @@ def process_inputs(files, prefix):
|
|
| 108 |
with gr.Blocks() as demo:
|
| 109 |
gr.Markdown("## 📄🖼️ PDF 或圖片合成工具(背景為 7872x1200)")
|
| 110 |
|
| 111 |
-
with gr.
|
| 112 |
upload_files = gr.Files(label="上傳 PDF 或圖片", file_types=[".pdf", ".png", ".jpg", ".jpeg"])
|
| 113 |
prefix_input = gr.Textbox(label="輸出檔案前綴 (選填)", placeholder="例如:project_")
|
| 114 |
btn_run = gr.Button("開始合成", variant="primary")
|
| 115 |
|
| 116 |
-
with gr.
|
| 117 |
gallery = gr.Gallery(label="預覽", columns=3)
|
| 118 |
zip_file = gr.File(label="下載 ZIP")
|
| 119 |
log_output = gr.Textbox(label="處理日誌", interactive=False)
|
|
|
|
| 108 |
with gr.Blocks() as demo:
|
| 109 |
gr.Markdown("## 📄🖼️ PDF 或圖片合成工具(背景為 7872x1200)")
|
| 110 |
|
| 111 |
+
with gr.Column():
|
| 112 |
upload_files = gr.Files(label="上傳 PDF 或圖片", file_types=[".pdf", ".png", ".jpg", ".jpeg"])
|
| 113 |
prefix_input = gr.Textbox(label="輸出檔案前綴 (選填)", placeholder="例如:project_")
|
| 114 |
btn_run = gr.Button("開始合成", variant="primary")
|
| 115 |
|
| 116 |
+
with gr.Column():
|
| 117 |
gallery = gr.Gallery(label="預覽", columns=3)
|
| 118 |
zip_file = gr.File(label="下載 ZIP")
|
| 119 |
log_output = gr.Textbox(label="處理日誌", interactive=False)
|