Spaces:
Sleeping
Sleeping
TintinMeimei
commited on
Commit
•
71aaff4
1
Parent(s):
c2c7360
Update main.py
Browse files
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
|
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()
|