Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,22 @@ examples = [
|
|
44 |
"আমাদের ছোটো নদী চলে বাঁকে বাঁকে বৈশাখ মাসে তার হাঁটু জল থাকে।।",
|
45 |
"Arjun speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
46 |
3.0
|
47 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
]
|
49 |
|
50 |
|
@@ -53,6 +68,21 @@ finetuned_examples = [
|
|
53 |
"আমাদের ছোটো নদী চলে বাঁকে বাঁকে বৈশাখ মাসে তার হাঁটু জল থাকে।",
|
54 |
"Arjun speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
55 |
3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
]
|
57 |
]
|
58 |
|
@@ -204,7 +234,7 @@ css = """
|
|
204 |
display: flex;
|
205 |
padding-left: 0.5rem !important;
|
206 |
padding-right: 0.5rem !important;
|
207 |
-
background-color: #
|
208 |
justify-content: center;
|
209 |
align-items: center;
|
210 |
border-radius: 9999px !important;
|
@@ -257,7 +287,7 @@ with gr.Blocks(css=css) as block:
|
|
257 |
|
258 |
<p>Tips for effective usage:
|
259 |
<ul>
|
260 |
-
<li>Use detailed captions to describe the speaker and desired characteristics (e.g., "
|
261 |
<li>For best results, reference specific named speakers provided in the model card on the <a href="https://huggingface.co/ai4bharat/indic-parler-tts#%F0%9F%8E%AF-using-a-specific-speaker">model page</a>.</li>
|
262 |
<li>Include terms like <b>"very clear audio"</b> or <b>"slightly noisy audio"</b> to control the audio quality and background ambiance.</li>
|
263 |
<li>Punctuation can be used to shape prosody (e.g., commas add pauses for natural phrasing).</li>
|
|
|
44 |
"আমাদের ছোটো নদী চলে বাঁকে বাঁকে বৈশাখ মাসে তার হাঁটু জল থাকে।।",
|
45 |
"Arjun speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
46 |
3.0
|
47 |
+
],
|
48 |
+
[
|
49 |
+
"আমার সোনার বাংলা আমি তোমায় ভালোবাসি।",
|
50 |
+
"Promi speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
51 |
+
3.0
|
52 |
+
],
|
53 |
+
[
|
54 |
+
"আমার চ্যানেলটি সাবস্ক্রাইব করুণ ।",
|
55 |
+
"Samanta speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
56 |
+
3.0
|
57 |
+
],
|
58 |
+
[
|
59 |
+
"জয় বাংলা।",
|
60 |
+
"Rafiq speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
61 |
+
3.0
|
62 |
+
]
|
63 |
]
|
64 |
|
65 |
|
|
|
68 |
"আমাদের ছোটো নদী চলে বাঁকে বাঁকে বৈশাখ মাসে তার হাঁটু জল থাকে।",
|
69 |
"Arjun speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
70 |
3.0
|
71 |
+
],
|
72 |
+
[
|
73 |
+
"আমার সোনার বাংলা আমি তোমায় ভালোবাসি।",
|
74 |
+
"Promi speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
75 |
+
3.0
|
76 |
+
],
|
77 |
+
[
|
78 |
+
"আমার চ্যানেলটি সাবস্ক্রাইব করুণ ।",
|
79 |
+
"Samanta speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
80 |
+
3.0
|
81 |
+
],
|
82 |
+
[
|
83 |
+
"জয় বাংলা।",
|
84 |
+
"Rafiq speaks at a moderate pace and pitch, with a clear, neutral tone and no emotional emphasis. The recording is very high quality with no background noise.",
|
85 |
+
3.0
|
86 |
]
|
87 |
]
|
88 |
|
|
|
234 |
display: flex;
|
235 |
padding-left: 0.5rem !important;
|
236 |
padding-right: 0.5rem !important;
|
237 |
+
background-color: #ffffff;
|
238 |
justify-content: center;
|
239 |
align-items: center;
|
240 |
border-radius: 9999px !important;
|
|
|
287 |
|
288 |
<p>Tips for effective usage:
|
289 |
<ul>
|
290 |
+
<li>Use detailed captions to describe the speaker and desired characteristics (e.g., "Salam speaks in a slightly expressive tone, with clear audio quality and a moderate pace.").</li>
|
291 |
<li>For best results, reference specific named speakers provided in the model card on the <a href="https://huggingface.co/ai4bharat/indic-parler-tts#%F0%9F%8E%AF-using-a-specific-speaker">model page</a>.</li>
|
292 |
<li>Include terms like <b>"very clear audio"</b> or <b>"slightly noisy audio"</b> to control the audio quality and background ambiance.</li>
|
293 |
<li>Punctuation can be used to shape prosody (e.g., commas add pauses for natural phrasing).</li>
|