Skip to content

Commit

Permalink
chore(format): run black on main (#494)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jun 28, 2024
1 parent 03364a5 commit 5b537f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/web/webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def make_audio(autoplay, stream):
audio_output = gr.Audio(
label="Output Audio",
value=None,
format= "mp3" if use_mp3 else "wav",
format="mp3" if use_mp3 else "wav",
autoplay=autoplay,
streaming=stream,
interactive=False,
Expand Down
1 change: 1 addition & 0 deletions tools/audio/ffmpeg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from pydub.utils import which


def has_ffmpeg_installed() -> bool:
return which("ffmpeg") and which("ffprobe")

0 comments on commit 5b537f3

Please sign in to comment.