Chrunos commited on
Commit
8b6bffc
·
verified ·
1 Parent(s): f8d9b22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -161,6 +161,9 @@ async def health_check():
161
  """Health check endpoint."""
162
  return {"status": "healthy", "message": "Service is running"}
163
 
 
 
 
164
 
165
  if __name__ == "__main__":
166
  import uvicorn
 
161
  """Health check endpoint."""
162
  return {"status": "healthy", "message": "Service is running"}
163
 
164
+ # Mount the static files directory
165
+ app.mount("/file", StaticFiles(directory=global_download_dir), name="downloads")
166
+
167
 
168
  if __name__ == "__main__":
169
  import uvicorn