ironjr commited on
Commit
ff1b706
·
verified ·
1 Parent(s): adb5773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -149,7 +149,7 @@ opt.colors = [
149
  # '#FECAC0',
150
  ]
151
  opt.excluded_keys = ['inpainting_mode', 'is_running', 'active_palettes', 'current_palette', 'model']
152
- opt.prep_time = 20
153
 
154
 
155
  ### Shared memory hack for ZeroGPU
@@ -1149,7 +1149,7 @@ async () => {{
1149
  state = true;
1150
 
1151
  // Run the main animation just once.
1152
- gradioEl.querySelector('#progress-time-fill, #death-group').style['animation-duration'] = animationTime+'s';
1153
  timerFunc(animationTime, days);
1154
  deadlineAnimation();
1155
  deadlineText({opt.run_time});
 
149
  # '#FECAC0',
150
  ]
151
  opt.excluded_keys = ['inpainting_mode', 'is_running', 'active_palettes', 'current_palette', 'model']
152
+ opt.prep_time = 0
153
 
154
 
155
  ### Shared memory hack for ZeroGPU
 
1149
  state = true;
1150
 
1151
  // Run the main animation just once.
1152
+ gradioEl.querySelector('#progress-time-fill, #death-group').style['animation-duration'] = animationTime +'s';
1153
  timerFunc(animationTime, days);
1154
  deadlineAnimation();
1155
  deadlineText({opt.run_time});