hysts commited on
Commit
cd8f155
1 Parent(s): 23b1ff8

Change layout

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -66,11 +66,6 @@ def main():
66
  samples=[[path.as_posix()]
67
  for path in paths])
68
 
69
- with gr.Column():
70
- with gr.Row():
71
- label_image = gr.Image(label='Label Image',
72
- type='numpy',
73
- elem_id='label-image')
74
  with gr.Row():
75
  shape_text = gr.Textbox(
76
  label='Shape Description',
@@ -87,9 +82,10 @@ Note: The outer clothing type and accessories can be omitted.''')
87
 
88
  with gr.Column():
89
  with gr.Row():
90
- result = gr.Image(label='Result',
91
- type='numpy',
92
- elem_id='result-image')
 
93
  with gr.Row():
94
  texture_text = gr.Textbox(
95
  label='Texture Description',
@@ -112,6 +108,12 @@ Note: Currently, only 5 types of textures are supported, i.e., pure color, strip
112
  with gr.Row():
113
  generate_human_button = gr.Button('Generate Human')
114
 
 
 
 
 
 
 
115
  gr.Markdown(FOOTER)
116
 
117
  input_image.change(fn=model.process_pose_image,
66
  samples=[[path.as_posix()]
67
  for path in paths])
68
 
 
 
 
 
 
69
  with gr.Row():
70
  shape_text = gr.Textbox(
71
  label='Shape Description',
82
 
83
  with gr.Column():
84
  with gr.Row():
85
+ label_image = gr.Image(label='Label Image',
86
+ type='numpy',
87
+ elem_id='label-image')
88
+
89
  with gr.Row():
90
  texture_text = gr.Textbox(
91
  label='Texture Description',
108
  with gr.Row():
109
  generate_human_button = gr.Button('Generate Human')
110
 
111
+ with gr.Column():
112
+ with gr.Row():
113
+ result = gr.Image(label='Result',
114
+ type='numpy',
115
+ elem_id='result-image')
116
+
117
  gr.Markdown(FOOTER)
118
 
119
  input_image.change(fn=model.process_pose_image,