fpadron commited on
Commit
59d168b
·
1 Parent(s): d2b4768

make files public

Browse files
Files changed (1) hide show
  1. api.py +3 -0
api.py CHANGED
@@ -31,6 +31,9 @@ class Item(BaseModel):
31
 
32
  app = FastAPI()
33
 
 
 
 
34
  @app.on_event("startup")
35
  async def startup_event():
36
  global model, tokenizer, qa_pipeline, embed_model, qdrant
 
31
 
32
  app = FastAPI()
33
 
34
+ # Mount static files from TestFolder
35
+ app.mount("/files", StaticFiles(directory="TestFolder"), name="files")
36
+
37
  @app.on_event("startup")
38
  async def startup_event():
39
  global model, tokenizer, qa_pipeline, embed_model, qdrant