hexgrad commited on
Commit
73a19a6
·
verified ·
1 Parent(s): b3e0d41

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ sents = set()
48
  for txt in {'harvard_sentences', 'llama3_command-r_sentences_1st_person', 'llama3_command-r_sentences_excla', 'llama3_command-r_questions'}:
49
  txt += '.txt'
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):
 
48
  for txt in {'harvard_sentences', 'llama3_command-r_sentences_1st_person', 'llama3_command-r_sentences_excla', 'llama3_command-r_questions'}:
49
  txt += '.txt'
50
  subprocess.run(['wget', f'https://huggingface.co/spaces/Pendrokar/TTS-Spaces-Arena/resolve/main/{txt}'])
51
+ with open(txt, 'r') as r:
52
+ sents.update(r.read().strip().splitlines())
53
  print('len(sents)', len(sents))
54
 
55
  def parens_to_angles(s):