wzkariampuzha commited on
Commit
24c9761
1 Parent(s): 3282c87

Update extract_abs.py

Browse files
Files changed (1) hide show
  1. extract_abs.py +1 -1
extract_abs.py CHANGED
@@ -318,7 +318,7 @@ def streamlit_extraction(search_term:Union[int,str], maxResults:int, filtering:s
318
  #Slow dataframe update
319
  results = results.append(extraction, ignore_index=True)
320
  i+=1
321
- my_bar.progress(int(i*percent_at_step))
322
 
323
  st.write(len(results),'abstracts classified as epidemiological.')
324
  return results.sort_values('EPI_PROB', ascending=False)
 
318
  #Slow dataframe update
319
  results = results.append(extraction, ignore_index=True)
320
  i+=1
321
+ my_bar.progress(round(i*percent_at_step/100,1))
322
 
323
  st.write(len(results),'abstracts classified as epidemiological.')
324
  return results.sort_values('EPI_PROB', ascending=False)