WSYAM806 commited on
Commit
803d12b
1 Parent(s): 4d4808e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.05)
107
  progress_bar.progress(perc_completed+1)
108
 
109
- prediction = pipeline.predict(data)
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")