Skip to content

Commit

Permalink
Ensure topic list has valid format
Browse files Browse the repository at this point in the history
  • Loading branch information
hvidy committed Apr 16, 2024
1 parent 921e6da commit ec46c88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/write_repo_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
if data["software"]["keywords"]:
keywords += data["software"]["keywords"]

#ensure keywords have valid format
keywords = [item[:50].lower() for item in keywords]

model_repo.replace_topics(keywords)


Expand Down

0 comments on commit ec46c88

Please sign in to comment.