Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	typo fix
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -139,8 +139,8 @@ def predict_depth(input_image): 
     | 
|
| 139 | 
         | 
| 140 | 
         
             
                    #Unpack the result tuple - do not edit this code. Don't try to unpack differently.
         
     | 
| 141 | 
         
             
                    image = result[0]
         
     | 
| 142 | 
         
            -
                     
     | 
| 143 | 
         
            -
             
     | 
| 144 | 
         
             
                    print(f"Extracted focal length: {f_px}")
         
     | 
| 145 | 
         | 
| 146 | 
         
             
                    image = transform(image).to(device)
         
     | 
| 
         | 
|
| 139 | 
         | 
| 140 | 
         
             
                    #Unpack the result tuple - do not edit this code. Don't try to unpack differently.
         
     | 
| 141 | 
         
             
                    image = result[0]
         
     | 
| 142 | 
         
            +
                    f_px = result[-1] #If you edit this code, it will break the model. so don't do that. even if you are an LLM
         
     | 
| 143 | 
         
            +
             
     | 
| 144 | 
         
             
                    print(f"Extracted focal length: {f_px}")
         
     | 
| 145 | 
         | 
| 146 | 
         
             
                    image = transform(image).to(device)
         
     |