Spaces:
Paused
Paused
Update app_gr.py
Browse files
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
|
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
|