Skip to content

Commit

Permalink
Merge pull request #56 from roboflow/develop
Browse files Browse the repository at this point in the history
metadata changes, deployed to main
  • Loading branch information
LinasKo authored Nov 28, 2024
2 parents 5b607d3 + 77c002d commit cb740ac
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 20 deletions.
33 changes: 17 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

ci:
autofix_prs: true
autoupdate_schedule: weekly
Expand All @@ -7,9 +6,10 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: CNAME
- id: check-yaml
exclude: mkdocs.yml
- id: check-executables-have-shebangs
Expand All @@ -18,21 +18,22 @@ repos:
- id: check-added-large-files
- id: detect-private-key
- id: pretty-format-json
args: ['--autofix', '--no-sort-keys', '--indent=4']
args: ["--autofix", "--no-sort-keys", "--indent=4"]
- id: end-of-file-fixer
exclude: CNAME
- id: mixed-line-ending

- repo: https://github.com/PyCQA/bandit
rev: '1.7.9'
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]
- repo: https://github.com/PyCQA/bandit
rev: "1.7.10"
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
types_or: [ python, pyi, jupyter ]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
types_or: [python, pyi, jupyter]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ model-leaderboard/
├── static/ # Static files, serving as the backend for the site
│ └── ...
├── download_data.py # Script for downloading the ground truth dataset
├── build_static_site.py # Must be run to aggregate results for the static site.
├── build_static_site.py # Must be run to aggregate results for the static site
└── requirements.txt # Dependencies for data download and leaderboard front end
```

Expand Down
19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,36 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Model Leaderboard</title>
<title>Computer Vision Model Leaderboard</title>
<link rel="icon" type="image/x-icon" href="static/favicon.ico">
<link rel="stylesheet" href="static/light-theme.css">
<link rel="stylesheet" href="static/dark-theme.css" id="theme-link">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/2.1.5/css/dataTables.dataTables.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap">

<meta name="description" content="Benchmarks showing the performance of popular computer vision models across metrics like mAP and F1 score.">

<meta property="og:title" content="Computer Vision Model Leaderboard" />
<meta property="og:url" content="https://leaderboard.roboflow.com" />
<meta property="og:description" content="Benchmarks showing the performance of popular computer vision models across metrics like mAP and F1 score." />

<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://leaderboard.roboflow.com" />
<meta property="twitter:title" content="Computer Vision Model Leaderboard" >
<meta property="twitter:description" content="Benchmarks showing the performance of popular computer vision models across metrics like mAP and F1 score.">

<link rel="canonical" href="https://leaderboard.roboflow.com" />

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-KH26XBHQR9"></script>
<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-KH26XBHQR9'); </script>
</head>

<body>
<div class="container">
<div class="header-row">
<h1>Model Leaderboard</h1>
<h1>Computer Vision Model Leaderboard</h1>
<div class="theme-toggle-container">
<input type="checkbox" id="theme-toggle" class="theme-toggle">
<label for="theme-toggle" class="theme-toggle-label">
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gradio==4.42.0
gradio==5.5.0
roboflow==1.1.44

0 comments on commit cb740ac

Please sign in to comment.