ShreyaRao commited on
Commit
8827883
·
1 Parent(s): e334159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -65,7 +65,8 @@ text = st.text_area("Enter your text here", height=200)
65
  model = st.radio("Select the model you want to use", ("Transformer","T5", "BART", "Encoder-Decoder"))
66
  st.write("Click on the button to summarize your text.")
67
  button = st.button("Summarize")
68
-
 
69
  if button:
70
  if text:
71
  if model == "Transformer":
@@ -103,5 +104,3 @@ if button:
103
  st.write(summary)
104
  else:
105
  st.warning("Please enter the text !!")
106
- st.divider()
107
- st.info("Please note that this is a beta version and summarized content may not be accurate. To get an accurate content the models need to be fined tuned and trained on respective context which requires GPUS. Please feel free to share your feedback with us.")
 
65
  model = st.radio("Select the model you want to use", ("Transformer","T5", "BART", "Encoder-Decoder"))
66
  st.write("Click on the button to summarize your text.")
67
  button = st.button("Summarize")
68
+ st.divider()
69
+ st.info("Please note that this is a beta version and summarized content may not be accurate. To get an accurate content the models need to be fined tuned and trained on respective context which requires GPUS. Please feel free to share your feedback with us.")
70
  if button:
71
  if text:
72
  if model == "Transformer":
 
104
  st.write(summary)
105
  else:
106
  st.warning("Please enter the text !!")