Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import os
|
|
11 |
|
12 |
openai.api_keys = os.getenv('API_KEYs').split("\n")
|
13 |
openai.api_key = openai.api_keys[0]
|
14 |
-
print(os.getenv('API_KEYs'))
|
15 |
|
16 |
timezone = pytz.timezone('Asia/Shanghai')
|
17 |
timestamp2string = lambda timestamp: datetime.datetime.fromtimestamp(timestamp).astimezone(timezone).strftime('%Y-%m-%d %H:%M:%S')
|
|
|
11 |
|
12 |
openai.api_keys = os.getenv('API_KEYs').split("\n")
|
13 |
openai.api_key = openai.api_keys[0]
|
14 |
+
#print(os.getenv('API_KEYs'))
|
15 |
|
16 |
timezone = pytz.timezone('Asia/Shanghai')
|
17 |
timestamp2string = lambda timestamp: datetime.datetime.fromtimestamp(timestamp).astimezone(timezone).strftime('%Y-%m-%d %H:%M:%S')
|