jhj0517
		
	commited on
		
		
					Commit 
							
							·
						
						d3474be
	
1
								Parent(s):
							
							a79cb95
								
Fix test
Browse files
    	
        tests/test_image_restoration.py
    CHANGED
    
    | @@ -14,7 +14,7 @@ from modules.live_portrait.live_portrait_inferencer import LivePortraitInference | |
| 14 | 
             
            def test_image_restoration(
         | 
| 15 | 
             
                input_image: str,
         | 
| 16 | 
             
            ):
         | 
| 17 | 
            -
                if not os.path.exists( | 
| 18 | 
             
                    download_image(
         | 
| 19 | 
             
                        TEST_IMAGE_URL,
         | 
| 20 | 
             
                        TEST_IMAGE_PATH
         | 
|  | |
| 14 | 
             
            def test_image_restoration(
         | 
| 15 | 
             
                input_image: str,
         | 
| 16 | 
             
            ):
         | 
| 17 | 
            +
                if not os.path.exists(TEST_IMAGE_PATH):
         | 
| 18 | 
             
                    download_image(
         | 
| 19 | 
             
                        TEST_IMAGE_URL,
         | 
| 20 | 
             
                        TEST_IMAGE_PATH
         |