kodamkarthik281 commited on
Commit
6aa4525
·
verified ·
1 Parent(s): f605f80

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -1
streamlit_app.py CHANGED
@@ -44,7 +44,7 @@ if st.button("Summarize"):
44
  with st.spinner("Generating summary..."):
45
 
46
  st.markdown("**Note :** This app may take 2–3 minutes to generate a summary after clicking the button.", unsafe_allow_html=True)
47
- st.markdown("""**Why is it slow? :**The model is a fine-tuned Transformer (T5) loaded from Hugging Face. Due to limited compute resources on Hugging
48
  Face Spaces (CPU-only and shared infrastructure), initial inference can take some time. Please be patient.""", unsafe_allow_html=True)
49
 
50
  abs_summary = generate_summary(user_input, model, tokenizer)
 
44
  with st.spinner("Generating summary..."):
45
 
46
  st.markdown("**Note :** This app may take 2–3 minutes to generate a summary after clicking the button.", unsafe_allow_html=True)
47
+ st.markdown("""**Why is it slow? :** The model is a fine-tuned Transformer (T5) loaded from Hugging Face. Due to limited compute resources on Hugging
48
  Face Spaces (CPU-only and shared infrastructure), initial inference can take some time. Please be patient.""", unsafe_allow_html=True)
49
 
50
  abs_summary = generate_summary(user_input, model, tokenizer)