Bargerya commited on
Commit
99d73f0
ยท
1 Parent(s): 2351782
Files changed (1) hide show
  1. app.py +2 -2
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 = {