Initial commit
Browse files
README.md
CHANGED
@@ -1 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# SpeechTranslationSynthesis
|
|
|
1 |
+
---
|
2 |
+
title: speechtranslationsynthesis
|
3 |
+
app_file: app.py
|
4 |
+
sdk: gradio
|
5 |
+
sdk_version: 4.36.1
|
6 |
+
---
|
7 |
# SpeechTranslationSynthesis
|
app.py
CHANGED
@@ -4,8 +4,6 @@ from translate import Translator
|
|
4 |
import os
|
5 |
|
6 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
7 |
-
# # Set the TTS_TOS environment variable
|
8 |
-
# os.environ["TTS_TOS"] = "non-commercial"
|
9 |
|
10 |
# Loading the base model
|
11 |
model = whisper.load_model("base")
|
|
|
4 |
import os
|
5 |
|
6 |
os.environ["COQUI_TOS_AGREED"] = "1"
|
|
|
|
|
7 |
|
8 |
# Loading the base model
|
9 |
model = whisper.load_model("base")
|