From 918ab7b62fa93f4d15491a57554f446d1673c957 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 21:05:02 +0900 Subject: [PATCH] chore(format): run black on dev (#1758) Co-authored-by: github-actions[bot] --- infer/lib/audio.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infer/lib/audio.py b/infer/lib/audio.py index 6c886e1..a371b07 100644 --- a/infer/lib/audio.py +++ b/infer/lib/audio.py @@ -1,4 +1,4 @@ -import platform,os +import platform, os import ffmpeg import numpy as np import av @@ -46,6 +46,6 @@ def load_audio(file, sr): def clean_path(path_str): - if platform.system() == 'Windows': - path_str = path_str.replace('/', '\\') + if platform.system() == "Windows": + path_str = path_str.replace("/", "\\") return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ")