Tune-Splitter / pipeline.py
CCockrum's picture
Update pipeline.py
54fe3ed verified
raw
history blame
722 Bytes
# pipeline.py
import os
import hashlib
import queue
import threading
import json
import shlex
import sys
import subprocess
import librosa
import numpy as np
import soundfile as sf
import torch
from tqdm import tqdm
from utils import (
remove_directory_contents,
create_directories,
download_manager,
)
import random
import spaces
from log import logger # updated import
import onnxruntime as ort
import warnings
import spaces
import gradio as gr
import logging
import time
import traceback
from pedalboard import Pedalboard, Reverb, Delay, Chorus, Compressor, Gain, HighpassFilter, LowpassFilter
from pedalboard.io import AudioFile
import numpy as np
import yt_dlp
# rest of your pipeline code continues...