Robaa commited on
Commit
84a03e7
·
verified ·
1 Parent(s): 2f62519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -16,15 +16,6 @@ import tempfile
16
 
17
  app = FastAPI()
18
 
19
- # CORS Middleware
20
- app.add_middleware(
21
- CORSMiddleware,
22
- allow_origins=["http://localhost:3000"],
23
- allow_credentials=True,
24
- allow_methods=["*"],
25
- allow_headers=["*"],
26
- )
27
-
28
  # Load environment variables
29
  load_dotenv()
30
  API_KEY = os.getenv("API_KEY")
 
16
 
17
  app = FastAPI()
18
 
 
 
 
 
 
 
 
 
 
19
  # Load environment variables
20
  load_dotenv()
21
  API_KEY = os.getenv("API_KEY")