wjjessen commited on
Commit
6ffbf05
·
1 Parent(s): 6901ce4

update code

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -152,7 +152,7 @@ def main():
152
  selected_model = st.radio(
153
  "Select a model to use:",
154
  model_names,
155
- help="Defauls to T5-Small as it summarizes better than BART",
156
  )
157
  if selected_model == "BART":
158
  checkpoint = "ccdv/lsg-bart-base-16384-pubmed"
@@ -241,8 +241,7 @@ def main():
241
  col1 = st.columns(1)
242
  url = "https://dev.to/eteimz/understanding-langchains-recursivecharactertextsplitter-2846"
243
  st.info("Additional information")
244
- st.write("")
245
- st.write("[RecursiveCharacterTextSplitter](%s) parameters used:" % url)
246
  st.write("        chunk_size=1000")
247
  st.write(
248
  "        chunk_overlap=100"
 
152
  selected_model = st.radio(
153
  "Select a model to use:",
154
  model_names,
155
+ help="Defauls to T5-Small; for most articles it summarizes better than BART",
156
  )
157
  if selected_model == "BART":
158
  checkpoint = "ccdv/lsg-bart-base-16384-pubmed"
 
241
  col1 = st.columns(1)
242
  url = "https://dev.to/eteimz/understanding-langchains-recursivecharactertextsplitter-2846"
243
  st.info("Additional information")
244
+ st.write("\n[RecursiveCharacterTextSplitter](%s) parameters used:" % url)
 
245
  st.write("        chunk_size=1000")
246
  st.write(
247
  "        chunk_overlap=100"