Open Duartemartins opened 3 years ago
The error when running python ArticleGenerator.py -f input.txt -o sample.txt -n 3
is due to the code requiring Python 3.
For the error when running python3 ArticleGenerator.py -f input.txt -o sample.txt -n 3
, what are the contents of your input.txt
and sample.txt
?
Thanks for getting back. Sample.txt doesn't exist, input.txt has one paragraph of text.
I get this error when running
python ArticleGenerator.py -f input.txt -o sample.txt -n 3
Any idea why it could be doing this?
When running
python3 ArticleGenerator.py -f input.txt -o sample.txt -n 3
I get
RuntimeError: dictionary changed size during iteration