Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ SAMPLE_RATE = feature_extractor.sampling_rate
|
|
39 |
SEED = 42
|
40 |
|
41 |
default_text = "Please surprise me and speak in whatever voice you enjoy."
|
42 |
-
examples = [
|
43 |
[
|
44 |
"मुले बागेत खेळत आहेत आणि पक्षी किलबिलाट करत आहेत.",
|
45 |
"Sunita speaks slowly in a calm, moderate-pitched voice, delivering the news with a neutral tone. The recording is very high quality with no background noise.",
|
@@ -145,7 +145,7 @@ finetuned_examples = [
|
|
145 |
3.0
|
146 |
]
|
147 |
]
|
148 |
-
|
149 |
|
150 |
def numpy_to_mp3(audio_array, sampling_rate):
|
151 |
# Normalize audio_array if it's floating-point
|
|
|
39 |
SEED = 42
|
40 |
|
41 |
default_text = "Please surprise me and speak in whatever voice you enjoy."
|
42 |
+
"""examples = [
|
43 |
[
|
44 |
"मुले बागेत खेळत आहेत आणि पक्षी किलबिलाट करत आहेत.",
|
45 |
"Sunita speaks slowly in a calm, moderate-pitched voice, delivering the news with a neutral tone. The recording is very high quality with no background noise.",
|
|
|
145 |
3.0
|
146 |
]
|
147 |
]
|
148 |
+
"""
|
149 |
|
150 |
def numpy_to_mp3(audio_array, sampling_rate):
|
151 |
# Normalize audio_array if it's floating-point
|