Spaces:
Running
Running
File size: 203 Bytes
5ac84de |
1 2 3 4 5 6 7 8 |
from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
app = FastAPI()
# Mount the directory containing the files to be served
app.mount("/", StaticFiles(directory="."), name="files")
|