Remove references to finetuned models.
Browse files
app.py
CHANGED
|
@@ -63,9 +63,9 @@ type=['wav'])
|
|
| 63 |
finetuned_mms1 = synth_mms(tts_text, "ylacombe/mms-spa-finetuned-argentinian-monospeaker")
|
| 64 |
finetuned_mms2 = synth_mms(tts_text, "ylacombe/mms-spa-finetuned-chilean-monospeaker")
|
| 65 |
finetuned_mms3 = synth_mms(tts_text, "ylacombe/mms-spa-finetuned-colombian-monospeaker")
|
| 66 |
-
finetuned_mms4 = synth_mms(tts_text, "khof312/mms-tts-spa-female")
|
| 67 |
if tts_lang=="lin":
|
| 68 |
-
finetuned_mms1 = synth_mms(tts_text, "khof312/mms-tts-lin-female")
|
| 69 |
try:
|
| 70 |
finetuned_africanvoices = synth_africanvoices(tts_text, models[tts_lang]['africanvoices'])
|
| 71 |
except:
|
|
@@ -137,7 +137,7 @@ type=['wav'])
|
|
| 137 |
row2 = st.columns([1,1,2])
|
| 138 |
row3 = st.columns([1,1,2])
|
| 139 |
row4 = st.columns([1,1,2])
|
| 140 |
-
row5 = st.columns([1,1,2])
|
| 141 |
|
| 142 |
row1[0].write("**Model**")
|
| 143 |
row1[1].write("**Configuration**")
|
|
@@ -152,23 +152,23 @@ type=['wav'])
|
|
| 152 |
row4[0].write(f"Meta MMS")
|
| 153 |
row4[1].write("[ylacombe - Colombian](https://huggingface.co/ylacombe/mms-spa-finetuned-colombian-monospeaker)")
|
| 154 |
row4[2].audio(finetuned_mms3[0], sample_rate = finetuned_mms3[1])
|
| 155 |
-
row5[0].write(f"Meta MMS")
|
| 156 |
-
row5[1].write("[khof312 - female](https://huggingface.co/khof312/mms-tts-spa-female)")
|
| 157 |
-
row5[2].audio(finetuned_mms4[0], sample_rate = finetuned_mms4[1])
|
| 158 |
|
| 159 |
if tts_lang == "lin":
|
| 160 |
"### Fine Tuned"
|
| 161 |
row1 = st.columns([1,1,2])
|
| 162 |
-
row2 = st.columns([1,1,2])
|
| 163 |
row3 = st.columns([1,1,2])
|
| 164 |
|
| 165 |
row1[0].write("**Model**")
|
| 166 |
row1[1].write("**Configuration**")
|
| 167 |
row1[2].write("**Audio**")
|
| 168 |
|
| 169 |
-
row2[0].write(f"Meta MMS")
|
| 170 |
-
row2[1].write("[khof312 - female](https://huggingface.co/khof312/mms-tts-lin-female)")
|
| 171 |
-
row2[2].audio(finetuned_mms1[0], sample_rate = finetuned_mms1[1])
|
| 172 |
|
| 173 |
try:
|
| 174 |
row3[0].write(f"African voices")
|
|
|
|
| 63 |
finetuned_mms1 = synth_mms(tts_text, "ylacombe/mms-spa-finetuned-argentinian-monospeaker")
|
| 64 |
finetuned_mms2 = synth_mms(tts_text, "ylacombe/mms-spa-finetuned-chilean-monospeaker")
|
| 65 |
finetuned_mms3 = synth_mms(tts_text, "ylacombe/mms-spa-finetuned-colombian-monospeaker")
|
| 66 |
+
#finetuned_mms4 = synth_mms(tts_text, "khof312/mms-tts-spa-female")
|
| 67 |
if tts_lang=="lin":
|
| 68 |
+
#finetuned_mms1 = synth_mms(tts_text, "khof312/mms-tts-lin-female")
|
| 69 |
try:
|
| 70 |
finetuned_africanvoices = synth_africanvoices(tts_text, models[tts_lang]['africanvoices'])
|
| 71 |
except:
|
|
|
|
| 137 |
row2 = st.columns([1,1,2])
|
| 138 |
row3 = st.columns([1,1,2])
|
| 139 |
row4 = st.columns([1,1,2])
|
| 140 |
+
#row5 = st.columns([1,1,2])
|
| 141 |
|
| 142 |
row1[0].write("**Model**")
|
| 143 |
row1[1].write("**Configuration**")
|
|
|
|
| 152 |
row4[0].write(f"Meta MMS")
|
| 153 |
row4[1].write("[ylacombe - Colombian](https://huggingface.co/ylacombe/mms-spa-finetuned-colombian-monospeaker)")
|
| 154 |
row4[2].audio(finetuned_mms3[0], sample_rate = finetuned_mms3[1])
|
| 155 |
+
#row5[0].write(f"Meta MMS")
|
| 156 |
+
#row5[1].write("[khof312 - female](https://huggingface.co/khof312/mms-tts-spa-female)")
|
| 157 |
+
#row5[2].audio(finetuned_mms4[0], sample_rate = finetuned_mms4[1])
|
| 158 |
|
| 159 |
if tts_lang == "lin":
|
| 160 |
"### Fine Tuned"
|
| 161 |
row1 = st.columns([1,1,2])
|
| 162 |
+
#row2 = st.columns([1,1,2])
|
| 163 |
row3 = st.columns([1,1,2])
|
| 164 |
|
| 165 |
row1[0].write("**Model**")
|
| 166 |
row1[1].write("**Configuration**")
|
| 167 |
row1[2].write("**Audio**")
|
| 168 |
|
| 169 |
+
#row2[0].write(f"Meta MMS")
|
| 170 |
+
#row2[1].write("[khof312 - female](https://huggingface.co/khof312/mms-tts-lin-female)")
|
| 171 |
+
#row2[2].audio(finetuned_mms1[0], sample_rate = finetuned_mms1[1])
|
| 172 |
|
| 173 |
try:
|
| 174 |
row3[0].write(f"African voices")
|