tmp
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
from zhdate import ZhDate
|
7 |
from datetime import datetime
|
8 |
|
9 |
-
|
10 |
from dotenv import load_dotenv, find_dotenv
|
11 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
12 |
openai.api_key = os.environ['OPENAI_API_KEY']
|
@@ -14,7 +14,7 @@ print(openai.api_key)
|
|
14 |
if openai.api_key:
|
15 |
DESKTOP_KEY = openai.api_key
|
16 |
print(DESKTOP_KEY)
|
17 |
-
|
18 |
|
19 |
# ๅฎ็พฉๅฐๆฏๅฐๆ็ๆ้ๅ้
|
20 |
z_mapping = {
|
|
|
6 |
from zhdate import ZhDate
|
7 |
from datetime import datetime
|
8 |
|
9 |
+
'''
|
10 |
from dotenv import load_dotenv, find_dotenv
|
11 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
12 |
openai.api_key = os.environ['OPENAI_API_KEY']
|
|
|
14 |
if openai.api_key:
|
15 |
DESKTOP_KEY = openai.api_key
|
16 |
print(DESKTOP_KEY)
|
17 |
+
'''
|
18 |
|
19 |
# ๅฎ็พฉๅฐๆฏๅฐๆ็ๆ้ๅ้
|
20 |
z_mapping = {
|