Spaces:
Runtime error
Runtime error
Update app.py
#2
by
lyubachuba
- opened
app.py
CHANGED
|
@@ -16,11 +16,11 @@ from pydub.playback import play
|
|
| 16 |
# PATH_TO_MODEL = os.getcwd() + "/vosk-model-tts-ru-0.4-multi/"
|
| 17 |
|
| 18 |
|
| 19 |
-
with open(os.path.join(PATH_TO_MODEL, 'dictionary')) as file:
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
|
| 25 |
|
| 26 |
PATH_TO_OUTPUT = os.path.join(os.getcwd(), "content")
|
|
|
|
| 16 |
# PATH_TO_MODEL = os.getcwd() + "/vosk-model-tts-ru-0.4-multi/"
|
| 17 |
|
| 18 |
|
| 19 |
+
# with open(os.path.join(PATH_TO_MODEL, 'dictionary')) as file:
|
| 20 |
+
# for i, val in enumerate(file):
|
| 21 |
+
# if i == 100:
|
| 22 |
+
# break
|
| 23 |
+
# print(val)
|
| 24 |
|
| 25 |
|
| 26 |
PATH_TO_OUTPUT = os.path.join(os.getcwd(), "content")
|