tensorgirl commited on
Commit
b6f4209
·
verified ·
1 Parent(s): bc29c51

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -99,7 +99,7 @@ def summary(input_json):
99
  idx = -2
100
  output['Short Summary'] = answer[idx+2:]
101
 
102
- answer = callAzure("Make sure the following summary of a news article is not more than 80 words. Rewrite it and make it below 100 words ", output['Short Summary'])
103
  try:
104
  idx = answer.index("\n")
105
  except:
 
99
  idx = -2
100
  output['Short Summary'] = answer[idx+2:]
101
 
102
+ answer = callAzure("Make sure the following summary of a news article is not more than 80 words. Rewrite it and make it below 80 words ", output['Short Summary'])
103
  try:
104
  idx = answer.index("\n")
105
  except: