Spaces:
Build error
Build error
Fix dependencies: update app.py
Browse files
app.py
CHANGED
|
@@ -4,14 +4,6 @@ import tempfile
|
|
| 4 |
import subprocess
|
| 5 |
import sys
|
| 6 |
|
| 7 |
-
# ํ๊น
ํ์ด์ค ํ๊ฒฝ์์์ ํจํค์ง ์ถฉ๋(httpx ๋ฒ์ ๊ฐ๋ฑ)์ ํด๊ฒฐํ๊ธฐ ์ํ ๋ฐํ์ ์ค์น์ฉ ํธ๋ฆญ
|
| 8 |
-
try:
|
| 9 |
-
import spleeter
|
| 10 |
-
except ImportError:
|
| 11 |
-
print("Spleeter ์ค์น ์ค... ์ ์๋ง ๊ธฐ๋ค๋ ค์ฃผ์ธ์.")
|
| 12 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", "spleeter==2.3.0", "httpx==0.19.0"])
|
| 13 |
-
import spleeter
|
| 14 |
-
|
| 15 |
from auto_mapper import run_pipeline
|
| 16 |
|
| 17 |
def process_audio(audio_path, bpm, target_stem, mode, quantize_strength, offset, shift, threshold_multiplier, min_votes, tolerance_ms, sr):
|
|
|
|
| 4 |
import subprocess
|
| 5 |
import sys
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
from auto_mapper import run_pipeline
|
| 8 |
|
| 9 |
def process_audio(audio_path, bpm, target_stem, mode, quantize_strength, offset, shift, threshold_multiplier, min_votes, tolerance_ms, sr):
|