Sankie005 commited on
Commit
1f18e5e
·
1 Parent(s): 9e5c136

Removed files folder

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -7,7 +7,7 @@ from starlette.responses import FileResponse
7
  import os
8
  app = FastAPI()
9
  os.environ['SENTENCE_TRANSFORMERS_HOME'] = './.cache' ## For Docker
10
- app.mount("/files/", StaticFiles(directory="files"), name="index")
11
  class TextInput(BaseModel):
12
  InputText: str # python casing??????
13
 
 
7
  import os
8
  app = FastAPI()
9
  os.environ['SENTENCE_TRANSFORMERS_HOME'] = './.cache' ## For Docker
10
+ app.mount("/files/", StaticFiles(directory='../app'), name="index")
11
  class TextInput(BaseModel):
12
  InputText: str # python casing??????
13