Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,8 @@ with column2:
|
|
52 |
st.header("Wikipedia insights")
|
53 |
updated_schema = st.button("Start processing")
|
54 |
selector=st.empty()
|
|
|
55 |
write =st.empty()
|
56 |
-
start_page= selector.select_slider("Select a range of color wavelength",options=[i for i in html_page],key="start_page")
|
57 |
-
write.write(html_page[start_page],unsafe_allow_html=True)
|
58 |
|
59 |
|
60 |
|
@@ -124,8 +123,14 @@ with column1:
|
|
124 |
dataframe.dataframe(condition_capture['current_append'])
|
125 |
|
126 |
|
127 |
-
|
128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
# print(dummy_value)
|
131 |
# if smart_check(dummy_value)!=True:
|
|
|
52 |
st.header("Wikipedia insights")
|
53 |
updated_schema = st.button("Start processing")
|
54 |
selector=st.empty()
|
55 |
+
start_page=my_bar = st.progress(0, text="Press start processing .")
|
56 |
write =st.empty()
|
|
|
|
|
57 |
|
58 |
|
59 |
|
|
|
123 |
dataframe.dataframe(condition_capture['current_append'])
|
124 |
|
125 |
|
126 |
+
if len(condition_capture['current_append'][[i for i in condition_capture['current_append']][-1]])>=condition_capture['count']:
|
127 |
+
start_page.progress(100, text="Operation completed.")
|
128 |
+
|
129 |
+
break
|
130 |
+
else:
|
131 |
+
|
132 |
+
start_page.progress((text_indexing + 1)*(100//condition_capture['count']), text="Operation in progress. Please wait.")
|
133 |
+
write.write(html_page[[i for i in html_page][text_indexing]],unsafe_allow_html=True)
|
134 |
|
135 |
# print(dummy_value)
|
136 |
# if smart_check(dummy_value)!=True:
|