phyloforfun commited on
Commit
f2055e5
1 Parent(s): 26c9c07

file upload gallery

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -54,6 +54,8 @@ class ProgressReport:
54
  self.total_batches = n_batches
55
 
56
  def set_n_overall(self, total_overall_steps):
 
 
57
  self.total_overall_steps = total_overall_steps
58
 
59
  def reset_batch(self, step_name):
@@ -64,6 +66,7 @@ class ProgressReport:
64
  self.current_overall_step = 0
65
  self.overall_bar.progress(0)
66
  self.text_overall.text(step_name)
 
67
 
68
  def get_n_images(self):
69
  return self.n_images
@@ -1252,7 +1255,7 @@ def content_header():
1252
  with col_run_1:
1253
  show_header_welcome()
1254
  st.subheader('Run VoucherVision')
1255
- N_STEPS = 10
1256
  if check_if_usable():
1257
  if st.button("Start Processing", type='primary'):
1258
 
 
54
  self.total_batches = n_batches
55
 
56
  def set_n_overall(self, total_overall_steps):
57
+ self.current_overall_step = 0
58
+ self.overall_bar.progress(0)
59
  self.total_overall_steps = total_overall_steps
60
 
61
  def reset_batch(self, step_name):
 
66
  self.current_overall_step = 0
67
  self.overall_bar.progress(0)
68
  self.text_overall.text(step_name)
69
+
70
 
71
  def get_n_images(self):
72
  return self.n_images
 
1255
  with col_run_1:
1256
  show_header_welcome()
1257
  st.subheader('Run VoucherVision')
1258
+ N_STEPS = 6
1259
  if check_if_usable():
1260
  if st.button("Start Processing", type='primary'):
1261