fffiloni commited on
Commit
f398a44
·
verified ·
1 Parent(s): 3a7c34b
Files changed (1) hide show
  1. app_df.py +4 -4
app_df.py CHANGED
@@ -222,7 +222,7 @@ with gr.Blocks() as demo:
222
  ar_step = 0
223
  causal_block_size = 1
224
  use_teacache = False
225
- teacache_tresh = 0.3
226
  use_ret_steps = False
227
 
228
  if target_l == "4":
@@ -232,14 +232,14 @@ with gr.Blocks() as demo:
232
  overlap_history = 17
233
  addnoise_condition = 20
234
  use_teacache = True
235
- teacache_tresh = 0.3
236
  use_ret_steps = True
237
  elif target_l == "15":
238
  n_frames = 377
239
  overlap_history = 17
240
  addnoise_condition = 20
241
  use_teacache = True
242
- teacache_tresh = 0.3
243
  use_ret_steps = True
244
  elif target_l == "30":
245
  n_frames = 737
@@ -254,7 +254,7 @@ with gr.Blocks() as demo:
254
  ar_step = 5
255
  causal_block_size = 5
256
 
257
- return n_frames, overlap_history, addnoise_condition, ar_step, causal_block_size, use_teacache, teacache_tresh, use_ret_steps
258
 
259
 
260
  target_length.change(
 
222
  ar_step = 0
223
  causal_block_size = 1
224
  use_teacache = False
225
+ teacache_thresh = 0.3
226
  use_ret_steps = False
227
 
228
  if target_l == "4":
 
232
  overlap_history = 17
233
  addnoise_condition = 20
234
  use_teacache = True
235
+ teacache_thresh = 0.3
236
  use_ret_steps = True
237
  elif target_l == "15":
238
  n_frames = 377
239
  overlap_history = 17
240
  addnoise_condition = 20
241
  use_teacache = True
242
+ teacache_thresh = 0.3
243
  use_ret_steps = True
244
  elif target_l == "30":
245
  n_frames = 737
 
254
  ar_step = 5
255
  causal_block_size = 5
256
 
257
+ return n_frames, overlap_history, addnoise_condition, ar_step, causal_block_size, use_teacache, teacache_thresh, use_ret_steps
258
 
259
 
260
  target_length.change(