ghostsInTheMachine commited on
Commit
8324267
1 Parent(s): a85f402

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -151,7 +151,8 @@ def process_wrapper(video, fps=0, seed=0, batch_size=16):
151
  raise gr.Error("Please upload a video.")
152
  try:
153
  outputs = []
154
- for output in process_video(video.name, fps, seed, batch_size):
 
155
  outputs.append(output)
156
  yield output
157
  return outputs[-1]
 
151
  raise gr.Error("Please upload a video.")
152
  try:
153
  outputs = []
154
+ # Use video directly, since it's the file path
155
+ for output in process_video(video, fps, seed, batch_size):
156
  outputs.append(output)
157
  yield output
158
  return outputs[-1]