Fix the error: unsupported format string passed to numpy.ndarray.__format__

#31
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -75,7 +75,7 @@ text = "A gentle breeze moved through the open window while everyone listened to
75
  wav, duration = tts.synthesize(text, voice_style=style, lang="en")
76
 
77
  tts.save_audio(wav, "output.wav")
78
- print(f"Generated {duration:.2f}s of audio")
79
  ```
80
 
81
  ## What's New in Supertonic 3
 
75
  wav, duration = tts.synthesize(text, voice_style=style, lang="en")
76
 
77
  tts.save_audio(wav, "output.wav")
78
+ print(f"Generated {duration.item():.2f}s of audio")
79
  ```
80
 
81
  ## What's New in Supertonic 3