Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -3,7 +3,7 @@ import os | |
| 3 | 
             
            import torch
         | 
| 4 |  | 
| 5 | 
             
            if torch.cuda.is_available():
         | 
| 6 | 
            -
               | 
| 7 | 
             
              print("Using GPU")
         | 
| 8 | 
             
            else:
         | 
| 9 | 
             
              print("Using CPU")
         | 
|  | |
| 3 | 
             
            import torch
         | 
| 4 |  | 
| 5 | 
             
            if torch.cuda.is_available():
         | 
| 6 | 
            +
              subprocess.run(["apt-get", "install", "nvidia-cuda-toolkit"], check=True)
         | 
| 7 | 
             
              print("Using GPU")
         | 
| 8 | 
             
            else:
         | 
| 9 | 
             
              print("Using CPU")
         | 
 
			
