vibey commited on
Commit
cffd6ee
·
1 Parent(s): 88a8a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def main():
39
  st.sidebar.markdown("<h4 style = 'color:green; align:center; font-size: 20px;'> Model Settings</h1>", unsafe_allow_html=True)
40
  max_length= st.sidebar.slider("Maximum length of the generated text",min_value=100,max_value=500)
41
  min_length= st.sidebar.slider("Minimum length of the generated text",min_value=30)
42
- model_type = st.sidebar.selectbox("Model type", options=["Bart","T5", "ssr",])
43
 
44
  # This function is used to upload a .txt, .pdf, .docx file for summarization
45
  upload_doc = st.file_uploader("Upload a .txt, .pdf, .docx file for summarisation")
 
39
  st.sidebar.markdown("<h4 style = 'color:green; align:center; font-size: 20px;'> Model Settings</h1>", unsafe_allow_html=True)
40
  max_length= st.sidebar.slider("Maximum length of the generated text",min_value=100,max_value=500)
41
  min_length= st.sidebar.slider("Minimum length of the generated text",min_value=30)
42
+ model_type = st.sidebar.selectbox("Model type", options=["Bart","T5", "SSR",])
43
 
44
  # This function is used to upload a .txt, .pdf, .docx file for summarization
45
  upload_doc = st.file_uploader("Upload a .txt, .pdf, .docx file for summarisation")