Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
from fastapi import FastAPI , Request, APIRouter, Depends, HTTPException
|
2 |
from starlette.middleware.cors import CORSMiddleware
|
3 |
from routers import receipt_radar_callback_router
|
4 |
-
|
|
|
|
|
5 |
app = FastAPI()
|
6 |
app.add_middleware(
|
7 |
CORSMiddleware,
|
|
|
1 |
from fastapi import FastAPI , Request, APIRouter, Depends, HTTPException
|
2 |
from starlette.middleware.cors import CORSMiddleware
|
3 |
from routers import receipt_radar_callback_router
|
4 |
+
import os
|
5 |
+
from dotenv import load_dotenv
|
6 |
+
load_dotenv()
|
7 |
app = FastAPI()
|
8 |
app.add_middleware(
|
9 |
CORSMiddleware,
|