Spaces:
				
			
			
	
			
			
		Paused
		
	
	
	
			
			
	
	
	
	
		
		
		Paused
		
	Commit 
							
							·
						
						f2aebd1
	
1
								Parent(s):
							
							a327689
								
commit
Browse files- app.py +4 -1
- requirements.txt +2 -0
    	
        app.py
    CHANGED
    
    | @@ -83,7 +83,10 @@ def vggsfm_demo( | |
| 83 | 
             
                print(f"Files have been copied to {target_dir_images}")
         | 
| 84 | 
             
                cfg.SCENE_DIR = target_dir
         | 
| 85 |  | 
| 86 | 
            -
                 | 
|  | |
|  | |
|  | |
| 87 |  | 
| 88 | 
             
                glbfile = vggsfm_predictions_to_glb(predictions)
         | 
| 89 |  | 
|  | |
| 83 | 
             
                print(f"Files have been copied to {target_dir_images}")
         | 
| 84 | 
             
                cfg.SCENE_DIR = target_dir
         | 
| 85 |  | 
| 86 | 
            +
                try:
         | 
| 87 | 
            +
                    predictions = demo_fn(cfg)
         | 
| 88 | 
            +
                except:
         | 
| 89 | 
            +
                    return None, "Something seems to be incorrect. Please verify that your inputs are formatted correctly. If the issue persists, kindly create a GitHub issue for further assistance."
         | 
| 90 |  | 
| 91 | 
             
                glbfile = vggsfm_predictions_to_glb(predictions)
         | 
| 92 |  | 
    	
        requirements.txt
    CHANGED
    
    | @@ -1,5 +1,7 @@ | |
| 1 | 
             
            hydra-core==1.3.2
         | 
| 2 | 
             
            accelerate==0.24.0
         | 
|  | |
|  | |
| 3 | 
             
            omegaconf 
         | 
| 4 | 
             
            opencv-python 
         | 
| 5 | 
             
            einops 
         | 
|  | |
| 1 | 
             
            hydra-core==1.3.2
         | 
| 2 | 
             
            accelerate==0.24.0
         | 
| 3 | 
            +
            scipy
         | 
| 4 | 
            +
            pillow
         | 
| 5 | 
             
            omegaconf 
         | 
| 6 | 
             
            opencv-python 
         | 
| 7 | 
             
            einops 
         | 
