efederici commited on
Commit
67d416b
1 Parent(s): 9cbcc8b
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -78,12 +78,13 @@ def main():
78
  """,
79
  unsafe_allow_html=True,
80
  )
 
81
  st.sidebar.image("fl.png", width=220)
82
  st.sidebar.markdown(
83
- """# ARTeLab Summarizer
84
- * Create summaries of Italian news articles.
85
- * Copy paste any Italian news text and press the Generate Summary botton.
86
- """
87
  )
88
  st.sidebar.title("Parameters:")
89
 
@@ -139,12 +140,6 @@ def main():
139
  "num_return_sequences": 1,
140
  }
141
 
142
- st.sidebar.markdown(
143
- """For an explanation of the parameters, please to the [Huggingface blog post about text generation](https://huggingface.co/blog/how-to-generate)
144
- and the [Huggingface text generation interface doc](https://huggingface.co/transformers/main_classes/model.html?highlight=generate#transformers.generation_utils.GenerationMixin.generate).
145
- """
146
- )
147
-
148
  input_text = st.text_area("Enter an Italian news text", DEFAULT_TEXT, height=500)
149
 
150
  if st.button("Generate summary"):
 
78
  """,
79
  unsafe_allow_html=True,
80
  )
81
+ st.sidebar.markdown("""# ARTeLab Summarizer""")
82
  st.sidebar.image("fl.png", width=220)
83
  st.sidebar.markdown(
84
+ """
85
+ * Create summaries of Italian news articles.
86
+ * Copy paste any Italian news text and press the Generate Summary botton.
87
+ """
88
  )
89
  st.sidebar.title("Parameters:")
90
 
 
140
  "num_return_sequences": 1,
141
  }
142
 
 
 
 
 
 
 
143
  input_text = st.text_area("Enter an Italian news text", DEFAULT_TEXT, height=500)
144
 
145
  if st.button("Generate summary"):