hanyullai commited on
Commit
ba85e88
·
1 Parent(s): 21443c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def predict(text, seed, out_seq_length, min_gen_length, sampling_strategy,
38
 
39
  print(response.json())
40
 
41
- answer = text.rstrip() + ' ' + response.json()['result']['output']['text']
42
  if isinstance(answer, list):
43
  answer = answer[0]
44
 
 
38
 
39
  print(response.json())
40
 
41
+ answer = response.json()['result']['output']['raw']
42
  if isinstance(answer, list):
43
  answer = answer[0]
44