Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -55,14 +55,8 @@ def cut_wav(input_path, max_duration):
|
|
55 |
|
56 |
def infer(prompt, input_wav_file):
|
57 |
|
58 |
-
print("CUT AUDIO FILE TO MAX 20 SECONDS")
|
59 |
-
|
60 |
-
cut_input_wav_file = cut_wav(input_wav_file, max_duration=20)
|
61 |
-
|
62 |
-
print("SAVING THE AUDIO FILE TO WHERE IT BELONGS")
|
63 |
-
|
64 |
# Path to your WAV file
|
65 |
-
source_path =
|
66 |
|
67 |
# Destination directory
|
68 |
destination_directory = "bark_voices"
|
|
|
55 |
|
56 |
def infer(prompt, input_wav_file):
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
# Path to your WAV file
|
59 |
+
source_path = input_wav_file
|
60 |
|
61 |
# Destination directory
|
62 |
destination_directory = "bark_voices"
|