Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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://
|
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,
|