More flac support
This commit is contained in:
@@ -1200,7 +1200,7 @@ class GenerateImageConfig:
|
||||
)
|
||||
else:
|
||||
raise ValueError(f"Unsupported video format {self.output_ext}")
|
||||
elif self.output_ext in ['wav', 'mp3']:
|
||||
elif self.output_ext in ['wav', 'mp3', 'flac', 'ogg']:
|
||||
# save audio file
|
||||
audio_path = self.get_image_path(count, max_count)
|
||||
torchaudio.save(
|
||||
|
||||
Reference in New Issue
Block a user