husseinelsaadi commited on
Commit
1751c99
·
verified ·
1 Parent(s): b79bc93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -1802,12 +1802,7 @@ def bark_tts_async(text):
1802
 
1803
  start = time.time()
1804
  with torch.no_grad():
1805
- speech_values = model_bark.generate(
1806
- input_ids=input_ids,
1807
- do_sample=True,
1808
- fine_temperature=0.4,
1809
- coarse_temperature=0.8
1810
- )
1811
  print(f"✅ Bark finished in {round(time.time() - start, 2)}s on {device}")
1812
 
1813
  speech = speech_values.cpu().numpy().squeeze()
 
1802
 
1803
  start = time.time()
1804
  with torch.no_grad():
1805
+ speech_values = model_bark.generate(input_ids=input_ids)
 
 
 
 
 
1806
  print(f"✅ Bark finished in {round(time.time() - start, 2)}s on {device}")
1807
 
1808
  speech = speech_values.cpu().numpy().squeeze()