chiraggupta8769 commited on
Commit
2f05e17
·
verified ·
1 Parent(s): 148a54f

Create generate.py

Browse files
Files changed (1) hide show
  1. generate.py +10 -0
generate.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import shutil
3
+
4
+ parser = argparse.ArgumentParser()
5
+ parser.add_argument("--prompt", required=True)
6
+ parser.add_argument("--output", default="modelscope_output.mp4")
7
+ args = parser.parse_args()
8
+
9
+ # Copy a placeholder sample video for testing
10
+ shutil.copyfile("sample.mp4", args.output)