Inigozr commited on
Commit
d42ab56
·
1 Parent(s): f746146
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -13,8 +13,6 @@ import os
13
  app = FastAPI()
14
 
15
  # Mount a static directory for serving images
16
- folder = os.path.join(os.getcwd(), "/tmp")
17
- os.makedirs(folder)
18
  app.mount("/tmp", StaticFiles(directory="usr/src/tmp/static"), name="static")
19
 
20
  # Templates for rendering HTML
 
13
  app = FastAPI()
14
 
15
  # Mount a static directory for serving images
 
 
16
  app.mount("/tmp", StaticFiles(directory="usr/src/tmp/static"), name="static")
17
 
18
  # Templates for rendering HTML