Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ If the PDF is more than 100 pages, it cannot be uploaded to Google Translate as
|
|
| 10 |
The guideline is to keep it within 100 pages and 10MB, and if it exceeds this limit, Google Translate will not translate it.
|
| 11 |
|
| 12 |
To simply split into 10 pages each:
|
| 13 |
-
Group size (pages per group) ==
|
| 14 |
|
| 15 |
# ページごとに分割する関数
|
| 16 |
def split_pdf_by_pages(reader):
|
|
@@ -78,7 +78,7 @@ def main():
|
|
| 78 |
"Group size (pages per group)",
|
| 79 |
min_value=1,
|
| 80 |
max_value=99, # 最大値を設定 (必要に応じて調整)
|
| 81 |
-
value=
|
| 82 |
step=1 # ステップ数
|
| 83 |
)
|
| 84 |
if uploaded_file is not None:
|
|
|
|
| 10 |
The guideline is to keep it within 100 pages and 10MB, and if it exceeds this limit, Google Translate will not translate it.
|
| 11 |
|
| 12 |
To simply split into 10 pages each:
|
| 13 |
+
Group size (pages per group) == 10""", unsafe_allow_html=True)
|
| 14 |
|
| 15 |
# ページごとに分割する関数
|
| 16 |
def split_pdf_by_pages(reader):
|
|
|
|
| 78 |
"Group size (pages per group)",
|
| 79 |
min_value=1,
|
| 80 |
max_value=99, # 最大値を設定 (必要に応じて調整)
|
| 81 |
+
value=10, # 初期値
|
| 82 |
step=1 # ステップ数
|
| 83 |
)
|
| 84 |
if uploaded_file is not None:
|