Skip to content

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

Open
albertoecf wants to merge 3 commits intochenfei-wu:mainfrom
albertoecf:fix_format_string_in_python
Open

Update python formatting to use .format() instead of f-strings#219
albertoecf wants to merge 3 commits intochenfei-wu:mainfrom
albertoecf:fix_format_string_in_python

Conversation

@albertoecf
Copy link

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
Copy link
Author

@microsoft-github-policy-service agree

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.

1 participant