Ba7ath-Project commited on
Commit
738d3de
·
1 Parent(s): 9895477

Add loading spinner to Bus module

Browse files
Files changed (1) hide show
  1. pages/1_BUS.py +2 -1
pages/1_BUS.py CHANGED
@@ -89,7 +89,8 @@ if st.button("Lancer Ba7ath Username Search", key="ba7ath_btn"):
89
  f'{username} {sites_args} --timeout {timeout} --print-found'
90
  )
91
  st.info(f"Commande lancée : {command}")
92
- result = subprocess.getoutput(command)
 
93
  st.session_state["last_result"] = result
94
  found_links = {}
95
  for line in result.splitlines():
 
89
  f'{username} {sites_args} --timeout {timeout} --print-found'
90
  )
91
  st.info(f"Commande lancée : {command}")
92
+ with st.spinner("Analyse en cours sur plus de 400 plateformes... Cela peut prendre 2 à 4 minutes, merci de patienter."):
93
+ result = subprocess.getoutput(command)
94
  st.session_state["last_result"] = result
95
  found_links = {}
96
  for line in result.splitlines():