LPX55 commited on
Commit
6e842f9
·
verified ·
1 Parent(s): 8a23c91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -317,6 +317,9 @@ def main():
317
  outputs = [
318
  gr.Video(label="Generated Video"),
319
  ]
 
 
 
320
 
321
  # Create the Gradio interface
322
  iface = gr.Interface(
 
317
  outputs = [
318
  gr.Video(label="Generated Video"),
319
  ]
320
+ # Create a wrapper function to pass the pre-initialized pipeline
321
+ def generate_video_wrapper(*args):
322
+ return generate_video(pipe, *args)
323
 
324
  # Create the Gradio interface
325
  iface = gr.Interface(