MashiroLn commited on
Commit
6741423
·
verified ·
1 Parent(s): 6ee5c32

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. 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=1, label="图片数量", precision=0)
256
- img_w = gr.Number(value=1024, label="宽 (px)")
257
- img_h = gr.Number(value=1024, label="高 (px)")
258
  with gr.Row():
259
- img_max_pixels = gr.Number(value=1280*1280, label="Max Pixels (最大像素限制)", precision=0)
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():