randydev commited on
Commit
8d421a9
·
verified ·
1 Parent(s): 9617ec4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -142,6 +142,9 @@ collection = db["users"]
142
 
143
  trans = SyncTranslator()
144
 
 
 
 
145
  app = FastAPI(docs_url=None, redoc_url=None)
146
  app.include_router(fluxai_router, prefix="/api/v1")
147
  app.include_router(whisper_router, prefix="/api/v1")
 
142
 
143
  trans = SyncTranslator()
144
 
145
+ app.mount("/static", StaticFiles(directory="static"), name="static")
146
+
147
+
148
  app = FastAPI(docs_url=None, redoc_url=None)
149
  app.include_router(fluxai_router, prefix="/api/v1")
150
  app.include_router(whisper_router, prefix="/api/v1")