mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-27 08:58:13 +00:00
Work on text parsing, testing
This commit is contained in:
@@ -96,6 +96,7 @@ def preprocess_text(text, raw_input=True):
|
||||
pass
|
||||
pre_sequence += line
|
||||
|
||||
print(pre_sequence)
|
||||
with torch.no_grad():
|
||||
# save VRAM by not including gradients
|
||||
sequence = np.array(text_to_sequence(pre_sequence, ['english_cleaners']))[None, :]
|
||||
|
||||
Reference in New Issue
Block a user