bhadresh-savani commited on
Commit
29687ad
·
1 Parent(s): 4f061e5

updated UI

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def load_model(input_complex_sentence,model):
17
 
18
  def main():
19
 
20
- st.title("Sentence Split in English using T5 Variants")
21
  st.write("Sentence Split is the task of dividing a long Sentence into multiple Sentences")
22
 
23
  model = st.sidebar.selectbox(
@@ -28,7 +28,7 @@ def main():
28
  example = "Mary likes to play football in her freetime whenever she meets with her friends that are very nice people."
29
  input_complex_sentence = st.text_area("Please type a long Sentence to split",example)
30
 
31
- if st.button('Split✂️'):
32
  with st.spinner("Spliting Sentence...🧠"):
33
  generated_sentence = load_model(input_complex_sentence, model)
34
  st.write(generated_sentence)
 
17
 
18
  def main():
19
 
20
+ st.title("✂️🔪Sentence Split in English using T5 Variants")
21
  st.write("Sentence Split is the task of dividing a long Sentence into multiple Sentences")
22
 
23
  model = st.sidebar.selectbox(
 
28
  example = "Mary likes to play football in her freetime whenever she meets with her friends that are very nice people."
29
  input_complex_sentence = st.text_area("Please type a long Sentence to split",example)
30
 
31
+ if st.button('Split'):
32
  with st.spinner("Spliting Sentence...🧠"):
33
  generated_sentence = load_model(input_complex_sentence, model)
34
  st.write(generated_sentence)