Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update demo.py #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update demo.py #4

wants to merge 1 commit into from

Conversation

xuguozhi
Copy link

@xuguozhi xuguozhi commented Sep 5, 2019

fix typo

@xuguozhi
Copy link
Author

xuguozhi commented Sep 5, 2019

File "demo.py", line 107 print(f"=> model path is not set; start downloading trained model to {resume_path}") ^ SyntaxError: invalid syntax
fix typo

@cliobeach
Copy link

cliobeach commented Sep 6, 2019 via email

@yu4u
Copy link
Owner

yu4u commented Sep 6, 2019

It's f-strings.

https://www.python.org/dev/peps/pep-0498/

@xuguozhi
Copy link
Author

xuguozhi commented Sep 9, 2019

OK,my python version is 2.7, so I have encountered an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants