Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -89,8 +89,7 @@ | |
| 89 | 
             
            #     uvicorn.run(app, host="0.0.0.0", port=7860)
         | 
| 90 |  | 
| 91 |  | 
| 92 | 
            -
            from fastapi import FastAPI
         | 
| 93 | 
            -
            from fastapi import File, UploadFile
         | 
| 94 | 
             
            from starlette.middleware import Middleware
         | 
| 95 | 
             
            from starlette.middleware.cors import CORSMiddleware
         | 
| 96 | 
             
            import logging
         | 
| @@ -115,3 +114,4 @@ async def detect_noise_api(file: UploadFile = File(...)): | |
| 115 | 
             
                logger.info("Đã nhận được yêu cầu!")
         | 
| 116 | 
             
                return {"message": "OK"}
         | 
| 117 |  | 
|  | 
|  | |
| 89 | 
             
            #     uvicorn.run(app, host="0.0.0.0", port=7860)
         | 
| 90 |  | 
| 91 |  | 
| 92 | 
            +
            from fastapi import FastAPI, UploadFile, File
         | 
|  | |
| 93 | 
             
            from starlette.middleware import Middleware
         | 
| 94 | 
             
            from starlette.middleware.cors import CORSMiddleware
         | 
| 95 | 
             
            import logging
         | 
|  | |
| 114 | 
             
                logger.info("Đã nhận được yêu cầu!")
         | 
| 115 | 
             
                return {"message": "OK"}
         | 
| 116 |  | 
| 117 | 
            +
             |