zxw commited on
Commit
79ef30f
1 Parent(s): 2f81d8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -102,8 +102,8 @@ if __name__ == '__main__':
102
  butt = st.button("生成")
103
  if butt and text != "":
104
  prompt = f'''
105
- 概括文章中心思想:{text}
106
- 摘要:?
107
  '''
108
  # print the predicted text
109
  prediction = cl.generate(
 
102
  butt = st.button("生成")
103
  if butt and text != "":
104
  prompt = f'''
105
+ 概括文章中心思想:\n{text}
106
+ 答案:
107
  '''
108
  # print the predicted text
109
  prediction = cl.generate(