qqqwt commited on
Commit
fce3447
1 Parent(s): 94424bc

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -466,9 +466,9 @@ class Reader:
466
  else:
467
  text = summary_text
468
  text = text[:max_token]
469
- chat_conclusion_text = self.chat_conclusion(text=text, key=str(key))
470
- htmls.append(chat_conclusion_text)
471
- htmls.append("\n")
472
  chat_review_text = self.chat_review(text=text, key=str(key))
473
  htmls.append(chat_review_text)
474
  htmls.append("\n")
@@ -630,7 +630,7 @@ class Reader:
630
  result = ''
631
  for choice in response.choices:
632
  result += choice.message.content
633
- print("summary_result:\n", result)
634
  return result
635
 
636
 
 
466
  else:
467
  text = summary_text
468
  text = text[:max_token]
469
+ # chat_conclusion_text = self.chat_conclusion(text=text, key=str(key))
470
+ # htmls.append(chat_conclusion_text)
471
+ # htmls.append("\n")
472
  chat_review_text = self.chat_review(text=text, key=str(key))
473
  htmls.append(chat_review_text)
474
  htmls.append("\n")
 
630
  result = ''
631
  for choice in response.choices:
632
  result += choice.message.content
633
+ print("review_result:\n", result)
634
  return result
635
 
636