yufengzhu commited on
Commit
9f66c31
·
1 Parent(s): 66bb4b2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,7 +54,7 @@ def post(
54
  writer.append_data(np.array(frame))
55
  writer.close()
56
  print('finish')
57
- return translated_text, result_video[0], result_video[1], result_video[2], result_video[3]
58
 
59
  def main():
60
  only_first_stage = True
@@ -119,7 +119,7 @@ def main():
119
  only_first_stage,
120
  image_prompt
121
  ],
122
- outputs=[translated_text, result_video1, result_video2, result_video3, result_video4])
123
  print(gr.__version__)
124
 
125
  demo.launch()
 
54
  writer.append_data(np.array(frame))
55
  writer.close()
56
  print('finish')
57
+ return result_video[0], result_video[1], result_video[2], result_video[3]
58
 
59
  def main():
60
  only_first_stage = True
 
119
  only_first_stage,
120
  image_prompt
121
  ],
122
+ outputs=[result_video1, result_video2, result_video3, result_video4])
123
  print(gr.__version__)
124
 
125
  demo.launch()