A few things:

  • use gr.HTML to display the title (should work to center the title)
  • removed login from the imports (not used anymore)
  • move the url parsing logic inside the gradio function (wouldn't work otherwise)
  • use RepoUrl to get the repo_id from a url
Owner

Following the creation of this PR, an ephemeral Space Weyaxi/leaderboard-results-to-modelcard-ci-pr-7 has been started. Any changes pushed to this PR will be synced with the test Space.
Since this PR has not been created by a trusted author, the ephemeral Space has not been configured with the correct hardware, storage, and secrets. An admin must configure it manually.
(This is an automated message.)

Owner

PR is now merged/closed. The ephemeral Space has been deleted.
(This is an automated message.)

Weyaxi changed pull request status to merged

Sign up or log in to comment