# gradio-app/gradio SLOC report

> gradio-app/gradio: 207,419 code lines at commit 526c24340024, counted with tokei-14.0.0 on 2026-10-10. Saved result 9f4ffcc806e0db15245a45845be6d0a395a34a2858917f8e3ccc775d05fd4064.

gradio-app/gradio has 207,419 source lines of code out of 341,439 total lines across 2,420 files, counted from the main ref at commit 526c24340024 by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving gradio-app/gradio to commit 526c24340024, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

gradio-app/gradio: counting rules unknown; engine tokei-14.0.0.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 60.7% of all lines, comments represent 20.8%, and the repository averages 86 code lines per file. Python accounts for 36.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 687 | 88,848 | 76,620 | 1,993 | 10,235 |
| TypeScript | 404 | 74,813 | 61,250 | 3,861 | 9,702 |
| Svelte | 596 | 32,205 | 30,607 | 170 | 1,428 |
| JSON | 135 | 14,350 | 14,348 | 0 | 2 |
| YAML | 3 | 15,462 | 12,487 | 0 | 2,975 |
| SVG | 96 | 4,543 | 4,504 | 20 | 19 |
| CSS | 20 | 4,784 | 4,277 | 83 | 424 |
| JavaScript | 39 | 2,413 | 1,994 | 205 | 214 |
| TOML | 3 | 320 | 274 | 9 | 37 |
| Jupyter Notebooks | 1 | 293 | 255 | 12 | 26 |
| Shell | 18 | 443 | 248 | 112 | 83 |
| HTML | 8 | 502 | 221 | 268 | 13 |
| Sass | 1 | 207 | 177 | 0 | 30 |
| Batch | 12 | 223 | 134 | 38 | 51 |
| SRecode Template | 1 | 29 | 23 | 0 | 6 |
| MDX | 1 | 67 | 0 | 52 | 15 |
| Markdown | 268 | 101,302 | 0 | 63,659 | 37,643 |
| Plain Text | 127 | 635 | 0 | 453 | 182 |

Top language (Python 36.9%). Generated at 2026-10-10T01:54:13.313900210Z. Canonical report: https://octocounts.com/github/gradio-app/gradio/commit/526c24340024dfae9c9a7709aad552382ed99f86?reportId=9f4ffcc806e0db15245a45845be6d0a395a34a2858917f8e3ccc775d05fd4064&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gradio-app/gradio/commit/526c24340024dfae9c9a7709aad552382ed99f86?reportId=9f4ffcc806e0db15245a45845be6d0a395a34a2858917f8e3ccc775d05fd4064&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does gradio-app/gradio have?

gradio-app/gradio has 341,439 total lines, including 207,419 code lines, 70,935 comment lines, and 63,085 blank lines.

### How was the gradio-app/gradio line count measured?

OctoCounts resolved the public GitHub repository to commit 526c24340024, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for gradio-app/gradio?

This OctoCounts report was generated from main at commit 526c24340024 on 2026-10-10T01:54:13.313900210Z.

## Similar repository reports

- [langchain-ai/langchain](https://octocounts.com/github/langchain-ai/langchain) — Python, 207,284 code lines
- [AstrBotDevs/AstrBot](https://octocounts.com/github/AstrBotDevs/AstrBot) — Python, 205,866 code lines
- [scenario-labs/skills](https://octocounts.com/github/scenario-labs/skills) — Python, 212,264 code lines
- [HKUDS/CLI-Anything](https://octocounts.com/github/HKUDS/CLI-Anything) — Python, 204,046 code lines
- [peach-mitao/peach](https://octocounts.com/github/peach-mitao/peach) — Python, 203,877 code lines
- [meta-pytorch/torchrec](https://octocounts.com/github/meta-pytorch/torchrec) — Python, 203,719 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
