SIUBIU commited on
Commit
761f16f
1 Parent(s): e06f267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -110,20 +110,19 @@ with gr.Blocks(css="styles.css", theme=gr.themes.Base()) as demo:
110
  with gr.Row():
111
  image_output_5 = gr.Image(label="显示图像", show_label=False, min_width=200, height=350)
112
  intro = gr.Textbox(label="服饰介绍", lines=14, max_lines=14)
 
 
 
 
 
 
 
 
 
 
113
  with gr.Row():
114
  submit_button_4 = gr.Button("虚拟试穿")
115
  with gr.Row():
116
- with gr.Column(scale=1):
117
- gallery_user = gr.Gallery(
118
- label="试穿结果",
119
- elem_id="gallery",
120
- value=[],
121
- columns=[3], rows=[2],
122
- object_fit="contain",
123
- min_width=200,
124
- height=350,
125
- )
126
- with gr.Column(scale=1):
127
  feedback = gr.Textbox(label="反馈", placeholder="可以从款式、颜色、图案、风格倾向、文化偏好角度进行反馈", lines=1,
128
  max_lines=1, elem_id="feedback")
129
  submit_button_5 = gr.Button("反馈")
 
110
  with gr.Row():
111
  image_output_5 = gr.Image(label="显示图像", show_label=False, min_width=200, height=350)
112
  intro = gr.Textbox(label="服饰介绍", lines=14, max_lines=14)
113
+ with gr.Row():
114
+ gallery_user = gr.Gallery(
115
+ label="试穿结果",
116
+ elem_id="gallery",
117
+ value=[],
118
+ columns=[3], rows=[2],
119
+ object_fit="contain",
120
+ min_width=200,
121
+ height=350,
122
+ )
123
  with gr.Row():
124
  submit_button_4 = gr.Button("虚拟试穿")
125
  with gr.Row():
 
 
 
 
 
 
 
 
 
 
 
126
  feedback = gr.Textbox(label="反馈", placeholder="可以从款式、颜色、图案、风格倾向、文化偏好角度进行反馈", lines=1,
127
  max_lines=1, elem_id="feedback")
128
  submit_button_5 = gr.Button("反馈")