chore(format): run black on dev (#1758)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
5c55d5378b
commit
918ab7b62f
@ -1,4 +1,4 @@
|
|||||||
import platform,os
|
import platform, os
|
||||||
import ffmpeg
|
import ffmpeg
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import av
|
import av
|
||||||
@ -46,6 +46,6 @@ def load_audio(file, sr):
|
|||||||
|
|
||||||
|
|
||||||
def clean_path(path_str):
|
def clean_path(path_str):
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == "Windows":
|
||||||
path_str = path_str.replace('/', '\\')
|
path_str = path_str.replace("/", "\\")
|
||||||
return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ")
|
return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user