Spaces:
Running
Running
Implement st.toast once the process is completed.
Browse files
pages/3 Bidirected Network.py
CHANGED
@@ -17,6 +17,7 @@ nltk.download('stopwords')
|
|
17 |
from nltk.corpus import stopwords
|
18 |
from nltk.stem.snowball import SnowballStemmer
|
19 |
import sys
|
|
|
20 |
|
21 |
#===config===
|
22 |
st.set_page_config(
|
@@ -236,6 +237,8 @@ if uploaded_file is not None:
|
|
236 |
return_value = agraph(nodes=nodes,
|
237 |
edges=edges,
|
238 |
config=config)
|
|
|
|
|
239 |
with tab2:
|
240 |
st.markdown('**Santosa, F. A. (2023). Adding Perspective to the Bibliometric Mapping Using Bidirected Graph. Open Information Science, 7(1), 20220152.** https://doi.org/10.1515/opis-2022-0152')
|
241 |
|
|
|
17 |
from nltk.corpus import stopwords
|
18 |
from nltk.stem.snowball import SnowballStemmer
|
19 |
import sys
|
20 |
+
import time
|
21 |
|
22 |
#===config===
|
23 |
st.set_page_config(
|
|
|
237 |
return_value = agraph(nodes=nodes,
|
238 |
edges=edges,
|
239 |
config=config)
|
240 |
+
time.sleep(1)
|
241 |
+
st.toast('Process completed', icon='📈')
|
242 |
with tab2:
|
243 |
st.markdown('**Santosa, F. A. (2023). Adding Perspective to the Bibliometric Mapping Using Bidirected Graph. Open Information Science, 7(1), 20220152.** https://doi.org/10.1515/opis-2022-0152')
|
244 |
|