Spaces:
Running
Running
Update app.py
Browse files
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 |
-
"
|
| 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,
|