koulsahil commited on
Commit
af83523
·
verified ·
1 Parent(s): 30419cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -422,7 +422,8 @@ if uploaded_file:
422
  # Question Answering
423
  with qa_tab:
424
  if qa_mode:
425
- with st.spinner("Performing Question Answering..."):
 
426
  try:
427
  qa_pipeline = load_qa_model(nlp_model)
428
  qa_results = perform_qa(full_text, custom_questions, qa_pipeline, confidence_threshold)
 
422
  # Question Answering
423
  with qa_tab:
424
  if qa_mode:
425
+ with st.spinner("Please note: Response times may take up to a minute due to CPU usage on the free tier of Hugging Face."):
426
+
427
  try:
428
  qa_pipeline = load_qa_model(nlp_model)
429
  qa_results = perform_qa(full_text, custom_questions, qa_pipeline, confidence_threshold)