Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -26,7 +26,7 @@ from utils import trim_video, StreamerThread, ProcessBar, open_directory, split_ | |
| 26 |  | 
| 27 | 
             
            ## ------------------------------ USER ARGS ------------------------------
         | 
| 28 |  | 
| 29 | 
            -
            parser = argparse.ArgumentParser(description=" | 
| 30 | 
             
            parser.add_argument("--out_dir", help="Default Output directory", default=os.getcwd())
         | 
| 31 | 
             
            parser.add_argument("--batch_size", help="Gpu batch size", default=32)
         | 
| 32 | 
             
            parser.add_argument("--cuda", action="store_true", help="Enable cuda", default=False)
         | 
| @@ -543,8 +543,8 @@ footer{display:none !important} | |
| 543 | 
             
            """
         | 
| 544 |  | 
| 545 | 
             
            with gr.Blocks(css=css) as interface:
         | 
| 546 | 
            -
                gr.Markdown("# 🗿  | 
| 547 | 
            -
                gr.Markdown("###  | 
| 548 | 
             
                with gr.Row():
         | 
| 549 | 
             
                    with gr.Row():
         | 
| 550 | 
             
                        with gr.Column(scale=0.4):
         | 
| @@ -773,20 +773,9 @@ with gr.Blocks(css=css) as interface: | |
| 773 | 
             
                            with gr.Box():
         | 
| 774 | 
             
                                with gr.Row():
         | 
| 775 | 
             
                                    gr.Markdown(
         | 
| 776 | 
            -
                                        "### [🤝  | 
| 777 | 
            -
                                    )
         | 
| 778 | 
            -
                                    gr.Markdown(
         | 
| 779 | 
            -
                                        "### [👨💻 Source code](https://github.com/harisreedhar/Swap-Mukham)"
         | 
| 780 | 
            -
                                    )
         | 
| 781 | 
            -
                                    gr.Markdown(
         | 
| 782 | 
            -
                                        "### [⚠️ Disclaimer](https://github.com/harisreedhar/Swap-Mukham#disclaimer)"
         | 
| 783 | 
            -
                                    )
         | 
| 784 | 
            -
                                    gr.Markdown(
         | 
| 785 | 
            -
                                        "### [🌐 Run in Colab](https://colab.research.google.com/github/harisreedhar/Swap-Mukham/blob/main/swap_mukham_colab.ipynb)"
         | 
| 786 | 
            -
                                    )
         | 
| 787 | 
            -
                                    gr.Markdown(
         | 
| 788 | 
            -
                                        "### [🤗 Acknowledgements](https://github.com/harisreedhar/Swap-Mukham#acknowledgements)"
         | 
| 789 | 
             
                                    )
         | 
|  | |
| 790 |  | 
| 791 | 
             
                ## ------------------------------ GRADIO EVENTS ------------------------------
         | 
| 792 |  | 
|  | |
| 26 |  | 
| 27 | 
             
            ## ------------------------------ USER ARGS ------------------------------
         | 
| 28 |  | 
| 29 | 
            +
            parser = argparse.ArgumentParser(description="Free Face Swapper")
         | 
| 30 | 
             
            parser.add_argument("--out_dir", help="Default Output directory", default=os.getcwd())
         | 
| 31 | 
             
            parser.add_argument("--batch_size", help="Gpu batch size", default=32)
         | 
| 32 | 
             
            parser.add_argument("--cuda", action="store_true", help="Enable cuda", default=False)
         | 
|  | |
| 543 | 
             
            """
         | 
| 544 |  | 
| 545 | 
             
            with gr.Blocks(css=css) as interface:
         | 
| 546 | 
            +
                gr.Markdown("# 🗿 Free Face Swapper")
         | 
| 547 | 
            +
                gr.Markdown("### Help us keep this app free with a tip.")
         | 
| 548 | 
             
                with gr.Row():
         | 
| 549 | 
             
                    with gr.Row():
         | 
| 550 | 
             
                        with gr.Column(scale=0.4):
         | 
|  | |
| 773 | 
             
                            with gr.Box():
         | 
| 774 | 
             
                                with gr.Row():
         | 
| 775 | 
             
                                    gr.Markdown(
         | 
| 776 | 
            +
                                        "### [🤝 Enjoying? Help us keep it free with a tip 🤗](https://www.paypal.com/donate/?hosted_button_id=WUWBM97N8EENN)"
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 777 | 
             
                                    )
         | 
| 778 | 
            +
                                    
         | 
| 779 |  | 
| 780 | 
             
                ## ------------------------------ GRADIO EVENTS ------------------------------
         | 
| 781 |  | 
