iuliaturc / detextify

Remove text from AI-generated images
MIT License
254 stars 22 forks source link

SyntaxError on directory example in README.md #27

Closed ariacomputer closed 1 year ago

ariacomputer commented 1 year ago

The directory example in README.md is missing an ending parenthesis, which causes the script to error like so:

C:\Users\xxx>python detextify.py
  File "C:\Users\xxx\detextify.py", line 8
    detextifier.detextify(img_file, img_file.replace(".png", "_detextified.png")
                         ^
SyntaxError: '(' was never closed

Adding a closing paren fixes the problem.