PKUWilliamYang commited on
Commit
63a43a4
1 Parent(s): 330ede4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -121,7 +121,7 @@ def main():
121
  - Rescale the input to make it best fit the model.
122
  - The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
123
  - For video input, further hit the **Rescale Video** button.
124
- - The final video result will be based on this **Rescaled Video**.
125
 
126
  ''')
127
  with gr.Row():
@@ -131,25 +131,25 @@ def main():
131
  ![example](https://raw.githubusercontent.com/williamyang1991/tmpfile/master/vtoonify/rescale.jpg)''')
132
  with gr.Row():
133
  top = gr.Slider(128,
134
- 320,
135
  value=200,
136
  step=8,
137
  label='top')
138
  with gr.Row():
139
  bottom = gr.Slider(128,
140
- 320,
141
  value=200,
142
  step=8,
143
  label='bottom')
144
  with gr.Row():
145
  left = gr.Slider(128,
146
- 320,
147
  value=200,
148
  step=8,
149
  label='left')
150
  with gr.Row():
151
  right = gr.Slider(128,
152
- 320,
153
  value=200,
154
  step=8,
155
  label='right')
 
121
  - Rescale the input to make it best fit the model.
122
  - The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
123
  - For video input, further hit the **Rescale Video** button.
124
+ - The final video result will be based on this **Rescaled Video**. To avoid overload, video is cut to at most **100** frames.
125
 
126
  ''')
127
  with gr.Row():
 
131
  ![example](https://raw.githubusercontent.com/williamyang1991/tmpfile/master/vtoonify/rescale.jpg)''')
132
  with gr.Row():
133
  top = gr.Slider(128,
134
+ 256,
135
  value=200,
136
  step=8,
137
  label='top')
138
  with gr.Row():
139
  bottom = gr.Slider(128,
140
+ 256,
141
  value=200,
142
  step=8,
143
  label='bottom')
144
  with gr.Row():
145
  left = gr.Slider(128,
146
+ 256,
147
  value=200,
148
  step=8,
149
  label='left')
150
  with gr.Row():
151
  right = gr.Slider(128,
152
+ 256,
153
  value=200,
154
  step=8,
155
  label='right')