pvanand commited on
Commit
ca4359e
1 Parent(s): c8510e0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -7,6 +7,7 @@ from dotenv import load_dotenv
7
  import os
8
  from fastapi import FastAPI
9
  from pydantic import BaseModel
 
10
 
11
  # Retrieve environment variables
12
  TOGETHER_API_KEY = os.getenv("TOGETHER_API_KEY")
 
7
  import os
8
  from fastapi import FastAPI
9
  from pydantic import BaseModel
10
+ from fastapi.middleware.cors import CORSMiddleware
11
 
12
  # Retrieve environment variables
13
  TOGETHER_API_KEY = os.getenv("TOGETHER_API_KEY")