Olivier-Truong commited on
Commit
68eae8f
1 Parent(s): 3e35df3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -776,7 +776,7 @@ if __name__ == '__main__':
776
 
777
 
778
  updated_config = default_app_config.update(**args)
779
- updated_config = updated_config.update({"input_audio_max_duration": 7200})
780
 
781
  if (threads := args.pop("threads")) > 0:
782
  torch.set_num_threads(threads)
 
776
 
777
 
778
  updated_config = default_app_config.update(**args)
779
+ updated_config.__dict__.update({"input_audio_max_duration": 7200})
780
 
781
  if (threads := args.pop("threads")) > 0:
782
  torch.set_num_threads(threads)