Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- apps/text_tools.py +4 -4
apps/text_tools.py
CHANGED
|
@@ -252,11 +252,11 @@ def create_ui():
|
|
| 252 |
|
| 253 |
with gr.Accordion("🖼️ 图片设置 (Images)", open=True):
|
| 254 |
with gr.Row():
|
| 255 |
-
img_count = gr.Number(value=
|
| 256 |
-
img_w = gr.Number(value=
|
| 257 |
-
img_h = gr.Number(value=
|
| 258 |
with gr.Row():
|
| 259 |
-
img_max_pixels = gr.Number(value=
|
| 260 |
|
| 261 |
with gr.Accordion("🎥 视频设置 (Videos)", open=False):
|
| 262 |
with gr.Row():
|
|
|
|
| 252 |
|
| 253 |
with gr.Accordion("🖼️ 图片设置 (Images)", open=True):
|
| 254 |
with gr.Row():
|
| 255 |
+
img_count = gr.Number(value=0, label="图片数量", precision=0)
|
| 256 |
+
img_w = gr.Number(value=1080, label="宽 (px)")
|
| 257 |
+
img_h = gr.Number(value=1920, label="高 (px)")
|
| 258 |
with gr.Row():
|
| 259 |
+
img_max_pixels = gr.Number(value=512*512, label="Max Pixels (最大像素限制)", precision=0)
|
| 260 |
|
| 261 |
with gr.Accordion("🎥 视频设置 (Videos)", open=False):
|
| 262 |
with gr.Row():
|