Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -9,16 +9,20 @@ def create_interface(): | |
| 9 | 
             
                with gr.Blocks() as iface:
         | 
| 10 | 
             
                    gr.Markdown("# Personality Analysis Classification")
         | 
| 11 | 
             
                    gr.Markdown("Upload a Video, TXT, or PDF file or use the example video.")
         | 
| 12 | 
            -
             | 
| 13 | 
            -
                    with gr. | 
| 14 | 
            -
                         | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
                        with gr. | 
| 18 | 
            -
                             | 
| 19 | 
            -
             | 
| 20 | 
            -
                             | 
| 21 | 
            -
                             | 
|  | |
|  | |
|  | |
|  | |
| 22 |  | 
| 23 | 
             
                    with gr.Column():
         | 
| 24 | 
             
                        progress = gr.Progress()
         | 
|  | |
| 9 | 
             
                with gr.Blocks() as iface:
         | 
| 10 | 
             
                    gr.Markdown("# Personality Analysis Classification")
         | 
| 11 | 
             
                    gr.Markdown("Upload a Video, TXT, or PDF file or use the example video.")
         | 
| 12 | 
            +
                    
         | 
| 13 | 
            +
                    with gr.Blocks(css=".same-width {width: 100%;} .same-width video {width: 100%; height: auto;}") as iface:
         | 
| 14 | 
            +
                        gr.Markdown("# Personality Analysis Classification")
         | 
| 15 | 
            +
                        gr.Markdown("Upload a Video, TXT, or PDF file or use the example video.")
         | 
| 16 | 
            +
                    
         | 
| 17 | 
            +
                        with gr.Row():
         | 
| 18 | 
            +
                            with gr.Column(scale=2):
         | 
| 19 | 
            +
                                input_file = gr.File(label="Upload File (TXT, PDF, or Video)")
         | 
| 20 | 
            +
                            
         | 
| 21 | 
            +
                            with gr.Column(scale=1):
         | 
| 22 | 
            +
                                with gr.Box(elem_classes="same-width"):
         | 
| 23 | 
            +
                                    example_video = gr.Video(value=example_video_path, label="Example Video Preview")
         | 
| 24 | 
            +
                                    example_button = gr.Button("Use Example Video", size="lg")
         | 
| 25 | 
            +
             | 
| 26 |  | 
| 27 | 
             
                    with gr.Column():
         | 
| 28 | 
             
                        progress = gr.Progress()
         | 
