Moran commited on
Commit
2c71b9c
·
1 Parent(s): 71105bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ st.title ("Text Summarization")
41
  model_type = st.radio('Pick a model',['RankText', 'Bart'])
42
  textrank_summary_size = 0
43
  if model_type=="RankText":
44
- textrank_summary_size = container_main.slider('How long would you like the summary to be? (Percentage of full text)', 5,50)
45
  user_text = st.text_area('Enter or paste text to summarize')
46
  start = st.button('Summarize')#, on_click=start_summarize, args=(user_text, model_type, ) )
47
 
 
41
  model_type = st.radio('Pick a model',['RankText', 'Bart'])
42
  textrank_summary_size = 0
43
  if model_type=="RankText":
44
+ textrank_summary_size = st.slider('How long would you like the summary to be? (Percentage of full text)', 5,50)
45
  user_text = st.text_area('Enter or paste text to summarize')
46
  start = st.button('Summarize')#, on_click=start_summarize, args=(user_text, model_type, ) )
47