PKUWilliamYang commited on
Commit
880ad85
1 Parent(s): 5f3f3d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -219,6 +219,8 @@ def main():
219
  with gr.Column():
220
  gr.Markdown('''![example](https://raw.githubusercontent.com/williamyang1991/tmpfile/master/vtoonify/degree.jpg)
221
  ''')
 
 
222
  with gr.Row():
223
  with gr.Column():
224
  with gr.Row():
@@ -259,10 +261,10 @@ def main():
259
 
260
  toonify_button.click(fn=model.image_toonify,
261
  inputs=[aligned_face, instyle, exstyle, style_degree],
262
- outputs=[result_face])
263
  vtoonify_button.click(fn=model.video_tooniy,
264
  inputs=[aligned_video, instyle, exstyle, style_degree],
265
- outputs=[result_video])
266
 
267
 
268
  example_images.click(fn=set_example_image,
 
219
  with gr.Column():
220
  gr.Markdown('''![example](https://raw.githubusercontent.com/williamyang1991/tmpfile/master/vtoonify/degree.jpg)
221
  ''')
222
+ with gr.Row():
223
+ output_info = gr.Textbox(label='Process Information', interactive=False, value='n.a.')
224
  with gr.Row():
225
  with gr.Column():
226
  with gr.Row():
 
261
 
262
  toonify_button.click(fn=model.image_toonify,
263
  inputs=[aligned_face, instyle, exstyle, style_degree],
264
+ outputs=[result_face, output_info])
265
  vtoonify_button.click(fn=model.video_tooniy,
266
  inputs=[aligned_video, instyle, exstyle, style_degree],
267
+ outputs=[result_video, output_info])
268
 
269
 
270
  example_images.click(fn=set_example_image,