Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffser committed Aug 5, 2024
1 parent 634ac12 commit 0a75893
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions update_available_models_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Moves the descriptions of models to src/available_models_descriptions.py
so they can be translated
"""

import json

if __name__ == "__main__":
Expand All @@ -13,5 +12,5 @@
RESULTS += f" '{key}': _(\"{value['description']}\"),\n"
RESULTS += '}'
with open('src/available_models_descriptions.py', 'w+', encoding="utf-8") as f:
f.write(results)
f.write(RESULTS)

0 comments on commit 0a75893

Please sign in to comment.