pup-py commited on
Commit
5ac84de
1 Parent(s): a24ffe2

forgot the file

Browse files
Files changed (1) hide show
  1. main.py +7 -0
main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+ from fastapi.staticfiles import StaticFiles
3
+
4
+ app = FastAPI()
5
+
6
+ # Mount the directory containing the files to be served
7
+ app.mount("/", StaticFiles(directory="."), name="files")