visual-chatgpt
visual-chatgpt copied to clipboard
Update python formatting to use .format() instead of f-strings
Motivation
This pull request addresses formatting issues in visual_chatgpt.py that were causing errors, including syntax errors. Specifically, some parts of the code were using f-strings for string formatting, which is not compatible with Python versions earlier than 3.6. In addition, there were other formatting inconsistencies that made the code harder to read and maintain.
Changes Made
To address these issues, we have updated the string formatting in visual_chatgpt.py to use .format() instead of f-strings. This change makes the code more compatible with older versions of Python and easier to read and maintain. No functionality has been changed.
@microsoft-github-policy-service agree