Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- apps/paper_image_tool.py +3 -2
- apps/pdf_cropper.py +3 -2
- apps/text_tools.py +1 -0
apps/paper_image_tool.py
CHANGED
|
@@ -435,8 +435,9 @@ def create_paper_tool():
|
|
| 435 |
if True: # Placeholder to keep indentation
|
| 436 |
gr.Markdown("""
|
| 437 |
## 📑 Image Auto Cropper (自动裁图)
|
| 438 |
-
|
| 439 |
-
|
|
|
|
| 440 |
""")
|
| 441 |
|
| 442 |
with gr.Row():
|
|
|
|
| 435 |
if True: # Placeholder to keep indentation
|
| 436 |
gr.Markdown("""
|
| 437 |
## 📑 Image Auto Cropper (自动裁图)
|
| 438 |
+
Organize, crop, and batch process research images. Supports structure inference via LLM and specific overrides.
|
| 439 |
+
|
| 440 |
+
整理、裁剪和批量处理可视化图片。支持通过 LLM 推断目录结构以及针对特定样本的例外处理。
|
| 441 |
""")
|
| 442 |
|
| 443 |
with gr.Row():
|
apps/pdf_cropper.py
CHANGED
|
@@ -61,8 +61,9 @@ def create_ui():
|
|
| 61 |
"""
|
| 62 |
gr.Markdown("""
|
| 63 |
## 📄 Img2PDF (Image转PDF)
|
| 64 |
-
|
| 65 |
-
|
|
|
|
| 66 |
""")
|
| 67 |
with gr.Row():
|
| 68 |
with gr.Column():
|
|
|
|
| 61 |
"""
|
| 62 |
gr.Markdown("""
|
| 63 |
## 📄 Img2PDF (Image转PDF)
|
| 64 |
+
Convert images to PDF with smart whitespace trimming.
|
| 65 |
+
|
| 66 |
+
将图片转换为 PDF,并支持自动裁剪白边。
|
| 67 |
""")
|
| 68 |
with gr.Row():
|
| 69 |
with gr.Column():
|
apps/text_tools.py
CHANGED
|
@@ -275,6 +275,7 @@ def create_ui():
|
|
| 275 |
gr.Markdown("""
|
| 276 |
## 📝 Token Stats (文本/多模态 Token 统计)
|
| 277 |
Estimate token usage for text, images, and videos using various model tokenizers (e.g., Qwen2.5-VL, LLaVa).
|
|
|
|
| 278 |
估算文本、图片和视频在不同模型(如 Qwen2.5-VL, LLaVa)下的 Token 用量。
|
| 279 |
""")
|
| 280 |
with gr.Row():
|
|
|
|
| 275 |
gr.Markdown("""
|
| 276 |
## 📝 Token Stats (文本/多模态 Token 统计)
|
| 277 |
Estimate token usage for text, images, and videos using various model tokenizers (e.g., Qwen2.5-VL, LLaVa).
|
| 278 |
+
|
| 279 |
估算文本、图片和视频在不同模型(如 Qwen2.5-VL, LLaVa)下的 Token 用量。
|
| 280 |
""")
|
| 281 |
with gr.Row():
|