Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Upload run_sample_video.sh
Browse files- run_sample_video.sh +14 -0
 
    	
        run_sample_video.sh
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            #!/bin/bash
         
     | 
| 2 | 
         
            +
            # Description: This script demonstrates how to inference a video based on HunyuanVideo model
         
     | 
| 3 | 
         
            +
             
     | 
| 4 | 
         
            +
            python3 sample_video.py \
         
     | 
| 5 | 
         
            +
                --video-size 720 1280 \
         
     | 
| 6 | 
         
            +
                --video-length 129 \
         
     | 
| 7 | 
         
            +
            	--infer-steps 50 \
         
     | 
| 8 | 
         
            +
                --prompt "A cat walks on the grass, realistic style." \
         
     | 
| 9 | 
         
            +
                --seed 42 \
         
     | 
| 10 | 
         
            +
            	--embedded-cfg-scale 6.0 \
         
     | 
| 11 | 
         
            +
                --flow-shift 7.0 \
         
     | 
| 12 | 
         
            +
                --flow-reverse \
         
     | 
| 13 | 
         
            +
                --use-cpu-offload \
         
     | 
| 14 | 
         
            +
                --save-path ./results
         
     |