Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -37,6 +37,7 @@ working_status = os.getenv("DEFALUT_TALKING", default = "true").lower() == "true
|
|
| 37 |
|
| 38 |
# 建立 FastAPI 應用程式
|
| 39 |
app = FastAPI()
|
|
|
|
| 40 |
|
| 41 |
# 設定 CORS,允許跨域請求
|
| 42 |
app.add_middleware(
|
|
|
|
| 37 |
|
| 38 |
# 建立 FastAPI 應用程式
|
| 39 |
app = FastAPI()
|
| 40 |
+
app.mount("/static", StaticFiles(directory="static"), name="static")
|
| 41 |
|
| 42 |
# 設定 CORS,允許跨域請求
|
| 43 |
app.add_middleware(
|