TheEeeeLin commited on
Commit
bc95f5c
·
1 Parent(s): e1ff790

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -440,9 +440,15 @@ if __name__ == "__main__":
440
  with gr.Column():
441
  notification = gr.Text(label="状态", visible=False)
442
  with gr.Row():
443
- img_output_standard = gr.Image(label="标准照", height=350)
444
- img_output_standard_hd = gr.Image(label="高清照", height=350)
445
- img_output_layout = gr.Image(label="六寸排版照", height=350)
 
 
 
 
 
 
446
  file_download = gr.File(label="下载调整 KB 大小后的照片", visible=False)
447
 
448
  # ---------------- 设置隐藏/显示组件 ----------------
 
440
  with gr.Column():
441
  notification = gr.Text(label="状态", visible=False)
442
  with gr.Row():
443
+ img_output_standard = gr.Image(
444
+ label="标准照", height=350, format="jpeg"
445
+ )
446
+ img_output_standard_hd = gr.Image(
447
+ label="高清照", height=350, format="jpeg"
448
+ )
449
+ img_output_layout = gr.Image(
450
+ label="六寸排版照", height=350, format="jpeg"
451
+ )
452
  file_download = gr.File(label="下载调整 KB 大小后的照片", visible=False)
453
 
454
  # ---------------- 设置隐藏/显示组件 ----------------