Mohammed Zeeshan Parvez commited on
Commit
0c510a3
·
1 Parent(s): 3e471a6

feat(app): increased max_length

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def generate_audio(
75
  tone=tone,
76
  add_context=True,
77
  )
78
- cfg = GenerationConfig(max_length=512)
79
 
80
  os.makedirs("outputs", exist_ok=True)
81
  out_path = os.path.join("outputs", f"parler_out_{os.getpid()}.wav")
 
75
  tone=tone,
76
  add_context=True,
77
  )
78
+ cfg = GenerationConfig()
79
 
80
  os.makedirs("outputs", exist_ok=True)
81
  out_path = os.path.join("outputs", f"parler_out_{os.getpid()}.wav")