hysts HF staff commited on
Commit
36b6e8a
1 Parent(s): d734be8

Change layout

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -49,9 +49,6 @@ def main():
49
  with gr.TabItem('Output (Video)'):
50
  result_video = gr.Video(show_label=False)
51
 
52
- gr.Markdown(NOTES)
53
- gr.Markdown(FOOTER)
54
-
55
  examples = gr.Examples(
56
  examples=[['骑滑板的皮卡丘', False, 1234, True],
57
  ['a cat playing chess', True, 1253, True]],
@@ -60,6 +57,9 @@ def main():
60
  outputs=[translated_text, result_video],
61
  cache_examples=True)
62
 
 
 
 
63
  run_button.click(fn=model.run_with_translation,
64
  inputs=[
65
  text,
 
49
  with gr.TabItem('Output (Video)'):
50
  result_video = gr.Video(show_label=False)
51
 
 
 
 
52
  examples = gr.Examples(
53
  examples=[['骑滑板的皮卡丘', False, 1234, True],
54
  ['a cat playing chess', True, 1253, True]],
 
57
  outputs=[translated_text, result_video],
58
  cache_examples=True)
59
 
60
+ gr.Markdown(NOTES)
61
+ gr.Markdown(FOOTER)
62
+
63
  run_button.click(fn=model.run_with_translation,
64
  inputs=[
65
  text,