Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	update(*): ZeroGPU duration update.
Browse files
    	
        app.py
    CHANGED
    
    | @@ -528,7 +528,7 @@ def validate_inputs(num_frames, num_cond_images, num_cond_sketches, text_prompt, | |
| 528 |  | 
| 529 | 
             
                return errors
         | 
| 530 |  | 
| 531 | 
            -
            @spaces.GPU
         | 
| 532 | 
             
            def tooncomposer_inference(num_frames, num_cond_images, num_cond_sketches, text_prompt, cfg_scale, sequence_cond_residual_scale, resolution, *args):
         | 
| 533 | 
             
                # Validate inputs first
         | 
| 534 | 
             
                validation_errors = validate_inputs(num_frames, num_cond_images, num_cond_sketches, text_prompt, *args)
         | 
|  | |
| 528 |  | 
| 529 | 
             
                return errors
         | 
| 530 |  | 
| 531 | 
            +
            @spaces.GPU(duration=240)
         | 
| 532 | 
             
            def tooncomposer_inference(num_frames, num_cond_images, num_cond_sketches, text_prompt, cfg_scale, sequence_cond_residual_scale, resolution, *args):
         | 
| 533 | 
             
                # Validate inputs first
         | 
| 534 | 
             
                validation_errors = validate_inputs(num_frames, num_cond_images, num_cond_sketches, text_prompt, *args)
         | 
