guardiancc commited on
Commit
dd4c7c1
·
verified ·
1 Parent(s): 25ad947

Update app_gr.py

Browse files
Files changed (1) hide show
  1. app_gr.py +2 -2
app_gr.py CHANGED
@@ -153,13 +153,13 @@ async def setup():
153
 
154
  async def return_video(video):
155
  gr.Info("Processing video..")
156
- output = engine.process_video(video, {
157
  "aaa": -10,
158
  "eee": -10,
159
  "woo": -12
160
  })
161
 
162
- return output_file
163
 
164
  interface = gr.Interface(
165
  fn=return_video, # Your function to process video
 
153
 
154
  async def return_video(video):
155
  gr.Info("Processing video..")
156
+ output = await engine.process_video(video, {
157
  "aaa": -10,
158
  "eee": -10,
159
  "woo": -12
160
  })
161
 
162
+ return output
163
 
164
  interface = gr.Interface(
165
  fn=return_video, # Your function to process video