Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def extract_pages_from_pdfs(pdfs, page_numbers):
|
|
| 39 |
with gr.Blocks() as demo:
|
| 40 |
with gr.Column():
|
| 41 |
gr.Markdown("## PDFページ抽出app")
|
| 42 |
-
gr.Markdown("Upload pdf filesにPDFファイルをアップロードして、Page Numbersに抽出したいページ数(コンマ区切りで複数入力可)を入力してください。Extract Pagesを実行すると入力ファイルから当該ページ数を抜き出して結合したPDFファイルが出力されます。")
|
| 43 |
|
| 44 |
pdf_files = gr.File(label="Upload PDF Files", file_count="multiple")
|
| 45 |
page_numbers = gr.Textbox(label="Page Numbers", placeholder="Enter the page numbers to extract (comma-separated)", type="text")
|
|
|
|
| 39 |
with gr.Blocks() as demo:
|
| 40 |
with gr.Column():
|
| 41 |
gr.Markdown("## PDFページ抽出app")
|
| 42 |
+
gr.Markdown("Upload pdf filesにPDFファイルをアップロードして、Page Numbersに抽出したいページ数(コンマ区切りで複数入力可)を入力してください。Extract Pagesを実行すると入力ファイルから当該ページ数を抜き出して結合したPDFファイルが出力されます。\nファイル名に年月日が含まれる場合日付順にソートして出力するよう改修しました。")
|
| 43 |
|
| 44 |
pdf_files = gr.File(label="Upload PDF Files", file_count="multiple")
|
| 45 |
page_numbers = gr.Textbox(label="Page Numbers", placeholder="Enter the page numbers to extract (comma-separated)", type="text")
|