Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -103,10 +103,10 @@ with App:
|
|
103 |
if st.button('Predict'):
|
104 |
progress_bar = st.progress(0)
|
105 |
for perc_completed in range(100):
|
106 |
-
time.sleep(0.
|
107 |
progress_bar.progress(perc_completed+1)
|
108 |
|
109 |
-
prediction = pipeline.predict(
|
110 |
input['cluster'] = prediction
|
111 |
print('Account Cluser Status : ', prediction)
|
112 |
print("\n----------------\n")
|
|
|
103 |
if st.button('Predict'):
|
104 |
progress_bar = st.progress(0)
|
105 |
for perc_completed in range(100):
|
106 |
+
time.sleep(0.10)
|
107 |
progress_bar.progress(perc_completed+1)
|
108 |
|
109 |
+
prediction = pipeline.predict(input)
|
110 |
input['cluster'] = prediction
|
111 |
print('Account Cluser Status : ', prediction)
|
112 |
print("\n----------------\n")
|