Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -212,6 +212,18 @@ with gr.Blocks(title="Lucy Edit - Video Editing with Text", css=css) as demo: | |
| 212 |  | 
| 213 | 
             
                    with gr.Column(scale=1):
         | 
| 214 | 
             
                        video_output = gr.Video(label="Edited Video")
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 215 |  | 
| 216 | 
             
                # Event handlers
         | 
| 217 | 
             
                generate_btn.click(
         | 
|  | |
| 212 |  | 
| 213 | 
             
                    with gr.Column(scale=1):
         | 
| 214 | 
             
                        video_output = gr.Video(label="Edited Video")
         | 
| 215 | 
            +
             | 
| 216 | 
            +
                    gr.Examples(
         | 
| 217 | 
            +
                    examples=[
         | 
| 218 | 
            +
                        ["examples/man_walking.mp4", "make the man into an alien"],
         | 
| 219 | 
            +
                        ["examples/leopard.mp4",  "make the leopard into a lion"],
         | 
| 220 | 
            +
                        ["examples/woman.mp4", "make the woman's coat blue"],
         | 
| 221 | 
            +
                    ],
         | 
| 222 | 
            +
                    inputs=[video_path, prompt],
         | 
| 223 | 
            +
                    outputs=video_output,
         | 
| 224 | 
            +
                    fn=process_video,
         | 
| 225 | 
            +
                    cache_examples="lazy",
         | 
| 226 | 
            +
                )
         | 
| 227 |  | 
| 228 | 
             
                # Event handlers
         | 
| 229 | 
             
                generate_btn.click(
         | 

