Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	Actually fix Runtime Error π
#7
by
						
cbensimon
	
							HF Staff
						- opened
							
					
- gradio_app.py +1 -1
 
    	
        gradio_app.py
    CHANGED
    
    | 
         @@ -765,5 +765,5 @@ if __name__ == '__main__': 
     | 
|
| 765 | 
         
             
                    torch.cuda.empty_cache()
         
     | 
| 766 | 
         
             
                demo = build_app()
         
     | 
| 767 | 
         
             
                app = gr.mount_gradio_app(app, demo, path="/")
         
     | 
| 768 | 
         
            -
                uvicorn.run(app, host=args.host, port=args.port)
         
     | 
| 769 | 
         
             
                spaces.zero.startup()
         
     | 
| 
         | 
| 
         | 
|
| 765 | 
         
             
                    torch.cuda.empty_cache()
         
     | 
| 766 | 
         
             
                demo = build_app()
         
     | 
| 767 | 
         
             
                app = gr.mount_gradio_app(app, demo, path="/")
         
     | 
| 
         | 
|
| 768 | 
         
             
                spaces.zero.startup()
         
     | 
| 769 | 
         
            +
                uvicorn.run(app, host=args.host, port=args.port)
         
     |