tianxiaweig commited on
Commit
7c25e92
1 Parent(s): b586175

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,7 @@ logging.basicConfig(
15
  format="%(asctime)s [%(levelname)s] [%(filename)s:%(lineno)d] %(message)s",
16
  )
17
 
18
- my_api_key = "" # 在这里输入你的 API 密钥
19
 
20
  # if we are running in Docker
21
  if os.environ.get("dockerrun") == "yes":
@@ -251,6 +251,7 @@ with gr.Blocks(
251
  maximum=2.0,
252
  value=1.0,
253
  step=0.1,
 
254
  interactive=True,
255
  label="Temperature",
256
  )
 
15
  format="%(asctime)s [%(levelname)s] [%(filename)s:%(lineno)d] %(message)s",
16
  )
17
 
18
+ my_api_key = "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" # 在这里输入你的 API 密钥
19
 
20
  # if we are running in Docker
21
  if os.environ.get("dockerrun") == "yes":
 
251
  maximum=2.0,
252
  value=1.0,
253
  step=0.1,
254
+ max_token_all = 4096,
255
  interactive=True,
256
  label="Temperature",
257
  )