Sengxian commited on
Commit
1ae4c5f
1 Parent(s): b387589

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def predict(text, seed, out_seq_length, min_gen_length, sampling_strategy,
22
  payload = json.dumps({
23
  "apikey": APIKEY,
24
  "apisecret": APISECRET ,
25
- "language": "zh-CN",
26
  "prompt": text,
27
  "length_penalty": length_penalty,
28
  "temperature": temperature,
 
22
  payload = json.dumps({
23
  "apikey": APIKEY,
24
  "apisecret": APISECRET ,
25
+ "model_name": "glm-130b-v1",
26
  "prompt": text,
27
  "length_penalty": length_penalty,
28
  "temperature": temperature,