Spaces:
Sleeping
Sleeping
update audio_converter.py
Browse files
src/expon/presentation/infrastructure/services/audio/audio_converter.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
|
5 |
class AudioConverterService:
|
6 |
def convert_to_pcm(self, input_path: str) -> str:
|
7 |
-
output_path = f"temp_{uuid.uuid4().hex}.wav"
|
8 |
try:
|
9 |
(
|
10 |
ffmpeg
|
|
|
4 |
|
5 |
class AudioConverterService:
|
6 |
def convert_to_pcm(self, input_path: str) -> str:
|
7 |
+
output_path = os.path.join("/tmp", f"temp_{uuid.uuid4().hex}.wav")
|
8 |
try:
|
9 |
(
|
10 |
ffmpeg
|