jaisidhsingh commited on
Commit
0d47a4f
β€’
1 Parent(s): ea3043b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ START = False
15
  COMPLETED = False
16
  PLACEHOLDER = "Enter your article"
17
 
18
- st.markdown("Extractive Summarization for Large Articles 😊")
19
 
20
  article = st.text_input(
21
  label="Welcome, enter your article, press enter, and then Summarize",
@@ -98,7 +98,7 @@ if START and not COMPLETED:
98
  else:
99
  with tmp_out.container():
100
  st.write("Input token count (",num_toks,") > token limit (",summarizer_token_limit,"), optimizing ...")
101
- st.write(f"Going Beyong {model_name} Token limit:", summarizer_token_limit)
102
 
103
  input_sent_toks = sent_tokenize(article)
104
  embeddings = make_embeddings(input_sent_toks, mean_pooling)
 
15
  COMPLETED = False
16
  PLACEHOLDER = "Enter your article"
17
 
18
+ st.markdown("# Inference-Time Optimization for Large Article Summarization 😊")
19
 
20
  article = st.text_input(
21
  label="Welcome, enter your article, press enter, and then Summarize",
 
98
  else:
99
  with tmp_out.container():
100
  st.write("Input token count (",num_toks,") > token limit (",summarizer_token_limit,"), optimizing ...")
101
+ st.write(f"Going beyond {model_name} token limit:", summarizer_token_limit)
102
 
103
  input_sent_toks = sent_tokenize(article)
104
  embeddings = make_embeddings(input_sent_toks, mean_pooling)