Sengxian commited on
Commit
37276a2
1 Parent(s): 4645197

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def predict(text, seed, out_seq_length, min_gen_length, sampling_strategy,
17
  if text == '':
18
  return 'Input should not be empty!'
19
 
20
- url = 'https://models.aminer.cn/os/api/api/v2/completions_130B'
21
 
22
  payload = json.dumps({
23
  "apikey": APIKEY,
17
  if text == '':
18
  return 'Input should not be empty!'
19
 
20
+ url = 'https://tianqi.aminer.cn/api/v2/completions_130B'
21
 
22
  payload = json.dumps({
23
  "apikey": APIKEY,