Sankie005 commited on
Commit
59bcf7a
·
1 Parent(s): 4545ced

Update app/main.py

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='../code/app'), 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