Spaces:
Running
Running
Update easy_infer.py
Browse files- easy_infer.py +1 -1
easy_infer.py
CHANGED
|
@@ -1373,7 +1373,7 @@ v2/tr_speaker_9 Turkish Male
|
|
| 1373 |
|
| 1374 |
|
| 1375 |
def get_edge_voice():
|
| 1376 |
-
completed_process = subprocess.run(['edge-tts',"-
|
| 1377 |
lines = completed_process.stdout.strip().split("\n")
|
| 1378 |
data = []
|
| 1379 |
current_entry = {}
|
|
|
|
| 1373 |
|
| 1374 |
|
| 1375 |
def get_edge_voice():
|
| 1376 |
+
completed_process = subprocess.run(['edge-tts',"--list-voices"], capture_output=True, text=True)
|
| 1377 |
lines = completed_process.stdout.strip().split("\n")
|
| 1378 |
data = []
|
| 1379 |
current_entry = {}
|