TintinMeimei commited on
Commit
71aaff4
1 Parent(s): c2c7360

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -6,7 +6,7 @@ from fastapi.responses import FileResponse
6
  from pydantic import BaseModel
7
  import openai
8
  openai.api_key = "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"
9
- api_key = os.environ.getattribute("apikey")
10
 
11
 
12
  app = FastAPI()
 
6
  from pydantic import BaseModel
7
  import openai
8
  openai.api_key = "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"
9
+ api_key = os.environ["apikey"]
10
 
11
 
12
  app = FastAPI()