hardik8588 commited on
Commit
20ce10a
·
verified ·
1 Parent(s): d275dd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ except Exception as e:
82
  os.makedirs("/tmp/static", exist_ok=True)
83
  os.makedirs("/tmp/uploads", exist_ok=True)
84
  os.makedirs("/tmp/temp", exist_ok=True)
85
- app.mount("/static", StaticFiles(directory="static"), name="static")
86
 
87
  # Set device for model inference
88
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
82
  os.makedirs("/tmp/static", exist_ok=True)
83
  os.makedirs("/tmp/uploads", exist_ok=True)
84
  os.makedirs("/tmp/temp", exist_ok=True)
85
+ app.mount("/static", StaticFiles(directory="/tmp/static"), name="static")
86
 
87
  # Set device for model inference
88
  device = "cuda" if torch.cuda.is_available() else "cpu"