Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,7 @@ import pytz
|
|
11 |
import json
|
12 |
import os
|
13 |
|
14 |
-
openai.api_key =
|
15 |
-
os.environ["access_key"] = "key"
|
16 |
|
17 |
timezone = pytz.timezone('Asia/Shanghai')
|
18 |
timestamp2string = lambda timestamp: datetime.datetime.fromtimestamp(timestamp).astimezone(timezone).strftime('%Y-%m-%d %H:%M:%S')
|
|
|
11 |
import json
|
12 |
import os
|
13 |
|
14 |
+
openai.api_key = os.environ["api_key"]
|
|
|
15 |
|
16 |
timezone = pytz.timezone('Asia/Shanghai')
|
17 |
timestamp2string = lambda timestamp: datetime.datetime.fromtimestamp(timestamp).astimezone(timezone).strftime('%Y-%m-%d %H:%M:%S')
|