Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -50,6 +50,7 @@ for txt in {'harvard_sentences', 'llama3_command-r_sentences_1st_person', 'llama
|
|
| 50 |
subprocess.run(['wget', f'https://huggingface.co/spaces/Pendrokar/TTS-Spaces-Arena/resolve/main/{txt}'])
|
| 51 |
with open('harvard_sentences.txt') as f:
|
| 52 |
sents.update(f.read().strip().splitlines())
|
|
|
|
| 53 |
|
| 54 |
def parens_to_angles(s):
|
| 55 |
return s.replace('(', '«').replace(')', '»')
|
|
|
|
| 50 |
subprocess.run(['wget', f'https://huggingface.co/spaces/Pendrokar/TTS-Spaces-Arena/resolve/main/{txt}'])
|
| 51 |
with open('harvard_sentences.txt') as f:
|
| 52 |
sents.update(f.read().strip().splitlines())
|
| 53 |
+
print('len(sents)', len(sents))
|
| 54 |
|
| 55 |
def parens_to_angles(s):
|
| 56 |
return s.replace('(', '«').replace(')', '»')
|