Moran commited on
Commit
2e63706
·
1 Parent(s): 4090c46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -30,9 +30,9 @@ def start_summarize(long_text, model):
30
  summary = inf_learn.blurr_generate([long_text])[0]['generated_texts']
31
  else:
32
  summary = long_text
33
- if summary!="":
34
- st.success(summary)
35
- st.select_slider('What do you think about the summary?', options=['Bad', 'Good', 'Excellent'], value=('Good'))
36
  #end start_summarize
37
 
38
  st.title ("Text Summarization")
 
30
  summary = inf_learn.blurr_generate([long_text])[0]['generated_texts']
31
  else:
32
  summary = long_text
33
+ # if summary!="":
34
+ st.success(summary)
35
+ st.select_slider('What do you think about the summary?', options=['Bad', 'Good', 'Excellent'], value=('Good'))
36
  #end start_summarize
37
 
38
  st.title ("Text Summarization")