visual-chatgpt icon indicating copy to clipboard operation
visual-chatgpt copied to clipboard

Update python formatting to use .format() instead of f-strings

Open albertoecf opened this issue 1 year ago • 1 comments

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.

albertoecf avatar Mar 16 '23 16:03 albertoecf

@microsoft-github-policy-service agree

albertoecf avatar Mar 20 '23 07:03 albertoecf