| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c13f27ff-ae8b-2a9a-c61f-06bacbbea4c8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6C6:1461DE:4279CE0:5B3D7EC:698CC32D |
| html-safe-nonce | 0075de518a02fd631c27c871d4a58f0c552fa22961cb978604f3bbd194034a62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM2OjE0NjFERTo0Mjc5Q0UwOjVCM0Q3RUM6Njk4Q0MzMkQiLCJ2aXNpdG9yX2lkIjoiMTU4Mjk3MzY4NjkxODIwMjE1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f007191880f1211a88ff11281da4d18f1133e4f669cddc164c0434abf87be73 |
| hovercard-subject-tag | pull_request:1024336349 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/edson-github/stable-diffusion/1/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f0e402b4f80337d4a21f6c1a4a98420a4548b11ad8b26d142b7a2e2012de0247/edson-github/stable-diffusion/pull/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0e402b4f80337d4a21f6c1a4a98420a4548b11ad8b26d142b7a2e2012de0247/edson-github/stable-diffusion/pull/1 |
| og:image:alt | Branch main refactored by Sourcery.
If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.
See our documentation here.
Run Sourcery locally
Reduce th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sourcery-ai[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/edson-github/stable-diffusion git https://github.com/edson-github/stable-diffusion.git |
| octolytics-dimension-user_id | 13337444 |
| octolytics-dimension-user_login | edson-github |
| octolytics-dimension-repository_id | 523871067 |
| octolytics-dimension-repository_nwo | edson-github/stable-diffusion |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 523379232 |
| octolytics-dimension-repository_parent_nwo | CompVis/stable-diffusion |
| octolytics-dimension-repository_network_root_id | 523379232 |
| octolytics-dimension-repository_network_root_nwo | CompVis/stable-diffusion |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fedson-github%2Fstable-diffusion%2Fpull%2F1 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fedson-github%2Fstable-diffusion%2Fpull%2F1 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=edson-github%2Fstable-diffusion |
| Reload | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| Reload | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| Reload | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
|
edson-github
| https://patch-diff.githubusercontent.com/edson-github |
| stable-diffusion | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion |
| CompVis/stable-diffusion | https://patch-diff.githubusercontent.com/CompVis/stable-diffusion |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fedson-github%2Fstable-diffusion |
|
Fork
0
| https://patch-diff.githubusercontent.com/login?return_to=%2Fedson-github%2Fstable-diffusion |
|
Star
0
| https://patch-diff.githubusercontent.com/login?return_to=%2Fedson-github%2Fstable-diffusion |
|
Code
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion |
|
Pull requests
1
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/projects |
|
Security
0
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/security |
|
Insights
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pulse |
|
Code
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion |
|
Pull requests
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/actions |
|
Projects
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/projects |
|
Security
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/security |
|
Insights
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fedson-github%2Fstable-diffusion%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fedson-github%2Fstable-diffusion%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#issue-comment-box |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| main | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/tree/main |
| sourcery/main | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/tree/sourcery/main |
|
Sourcery refactored main branch
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#top |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| main | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/tree/main |
| sourcery/main | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/tree/sourcery/main |
|
Conversation
62
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
|
Commits
1
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#issue-1336505691 |
| Sourcery | https://sourcery.ai/github/ |
| here | https://docs.sourcery.ai/GitHub/Using-Sourcery-for-GitHub/ |
| VS Code | https://sourcery.ai/download/?editor=vscode |
| PyCharm | https://sourcery.ai/download/?editor=pycharm |
| improve | https://research.typeform.com/to/j06Spdfr?type=branch_refactor&github_login=ed-science&base_repo=https%3A%2F%2Fgithub.com%2Fed-science%2Fstable-diffusion.git&base_remote_ref=main&base_ref=main&base_sha=ce05de28194041e030ccfc70c635fe3707cdfc30&head_repo=https%3A%2F%2Fgithub.com%2Fed-science%2Fstable-diffusion.git&head_ref=sourcery%2Fmain |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| 'Refactored by Sourcery' | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/commits/6a4445416fb817f5327a5bde6ee3b51e215a5fd8 |
| 6a44454 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/commits/6a4445416fb817f5327a5bde6ee3b51e215a5fd8 |
| https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| edson-github | https://patch-diff.githubusercontent.com/edson-github |
| August 11, 2022 21:20 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#event-7175042785 |
| https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
|
Aug 11, 2022
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#pullrequestreview-1070379698 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#pullrequestreview-1070379698 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| main.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-b10564ab7d2c520cdd0243874879fb0a782862c3c902ab535faabe57d5a505e1 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949385 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| list-literal | https://docs.sourcery.ai/refactorings/list-literal/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| main.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-b10564ab7d2c520cdd0243874879fb0a782862c3c902ab535faabe57d5a505e1 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949386 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| dict-literal | https://docs.sourcery.ai/refactorings/dict-literal/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| main.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-b10564ab7d2c520cdd0243874879fb0a782862c3c902ab535faabe57d5a505e1 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949388 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| collection-builtin-to-comprehension | https://docs.sourcery.ai/refactorings/collection-builtin-to-comprehension/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| main.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-b10564ab7d2c520cdd0243874879fb0a782862c3c902ab535faabe57d5a505e1 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949390 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-unnecessary-cast | https://docs.sourcery.ai/refactorings/remove-unnecessary-cast/ |
| boolean-if-exp-identity | https://docs.sourcery.ai/refactorings/boolean-if-exp-identity/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| main.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-b10564ab7d2c520cdd0243874879fb0a782862c3c902ab535faabe57d5a505e1 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949393 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| merge-else-if-into-elif | https://docs.sourcery.ai/refactorings/merge-else-if-into-elif/ |
| merge-nested-ifs | https://docs.sourcery.ai/refactorings/merge-nested-ifs/ |
| use-fstring-for-formatting | https://docs.sourcery.ai/refactorings/use-fstring-for-formatting/ |
| why? | https://docs.sourcery.ai/Resources/FAQ/#why-does-sourcery-sometimes-remove-comments |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/lr_scheduler.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-c9bf6798ea6e277bac01abe6fee08a5e39ab3c347817d4626d3b8584c3911e94 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949416 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| convert-to-enumerate | https://docs.sourcery.ai/refactorings/convert-to-enumerate/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/lr_scheduler.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-c9bf6798ea6e277bac01abe6fee08a5e39ab3c347817d4626d3b8584c3911e94 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949418 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| merge-nested-ifs | https://docs.sourcery.ai/refactorings/merge-nested-ifs/ |
| hoist-statement-from-if | https://docs.sourcery.ai/refactorings/hoist-statement-from-if/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/lr_scheduler.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-c9bf6798ea6e277bac01abe6fee08a5e39ab3c347817d4626d3b8584c3911e94 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949420 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| merge-nested-ifs | https://docs.sourcery.ai/refactorings/merge-nested-ifs/ |
| hoist-statement-from-if | https://docs.sourcery.ai/refactorings/hoist-statement-from-if/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/util.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-32753876a979e5de66e59e73a5050e903b45b4fca87f6b1d76d0f6466f5d7c9a |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949424 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| list-literal | https://docs.sourcery.ai/refactorings/list-literal/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/util.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-32753876a979e5de66e59e73a5050e903b45b4fca87f6b1d76d0f6466f5d7c9a |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949427 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| swap-if-expression | https://docs.sourcery.ai/refactorings/swap-if-expression/ |
| reintroduce-else | https://docs.sourcery.ai/refactorings/reintroduce-else/ |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
|
Aug 11, 2022
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#pullrequestreview-1070379800 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8 |
| ldm/util.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-32753876a979e5de66e59e73a5050e903b45b4fca87f6b1d76d0f6466f5d7c9a |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949472 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| swap-if-expression | https://docs.sourcery.ai/refactorings/swap-if-expression/ |
| reintroduce-else | https://docs.sourcery.ai/refactorings/reintroduce-else/ |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| merge-comparisons | https://docs.sourcery.ai/refactorings/merge-comparisons/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/util.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-32753876a979e5de66e59e73a5050e903b45b4fca87f6b1d76d0f6466f5d7c9a |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949473 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/util.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-32753876a979e5de66e59e73a5050e903b45b4fca87f6b1d76d0f6466f5d7c9a |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949478 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| swap-if-expression | https://docs.sourcery.ai/refactorings/swap-if-expression/ |
| remove-redundant-fstring | https://docs.sourcery.ai/refactorings/remove-redundant-fstring/ |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| comprehension-to-generator | https://docs.sourcery.ai/refactorings/comprehension-to-generator/ |
| reintroduce-else | https://docs.sourcery.ai/refactorings/reintroduce-else/ |
| why? | https://docs.sourcery.ai/Resources/FAQ/#why-does-sourcery-sometimes-remove-comments |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/data/imagenet.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-8fbec24b6e2baa8ccd87836b6a2cf2e38f9a1007f1a0de5281b0a7369fe2afae |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949481 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| collection-builtin-to-comprehension | https://docs.sourcery.ai/refactorings/collection-builtin-to-comprehension/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/data/imagenet.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-8fbec24b6e2baa8ccd87836b6a2cf2e38f9a1007f1a0de5281b0a7369fe2afae |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949482 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| de-morgan | https://docs.sourcery.ai/refactorings/de-morgan/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949509 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| use-fstring-for-formatting | https://docs.sourcery.ai/refactorings/use-fstring-for-formatting/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949510 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| inline-immediately-returned-variable | https://docs.sourcery.ai/refactorings/inline-immediately-returned-variable/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949511 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| inline-immediately-returned-variable | https://docs.sourcery.ai/refactorings/inline-immediately-returned-variable/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949512 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| reintroduce-else | https://docs.sourcery.ai/refactorings/reintroduce-else/ |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949514 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| use-fstring-for-concatenation | https://docs.sourcery.ai/refactorings/use-fstring-for-concatenation/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
|
Aug 11, 2022
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#pullrequestreview-1070379929 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949586 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| dict-literal | https://docs.sourcery.ai/refactorings/dict-literal/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949588 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| inline-immediately-returned-variable | https://docs.sourcery.ai/refactorings/inline-immediately-returned-variable/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949590 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| use-fstring-for-formatting | https://docs.sourcery.ai/refactorings/use-fstring-for-formatting/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949592 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| inline-immediately-returned-variable | https://docs.sourcery.ai/refactorings/inline-immediately-returned-variable/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/autoencoder.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-e684970b3257cd49ce36243267302eb782fa285e015281e3bdad86d559e72b12 |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949594 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| inline-immediately-returned-variable | https://docs.sourcery.ai/refactorings/inline-immediately-returned-variable/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/diffusion/ddim.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-5dca97583d86776b0adea0fff05029c70383da14fba1eb729cd69e52f5f6f05c |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949614 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| remove-zero-from-range | https://docs.sourcery.ai/refactorings/remove-zero-from-range/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/diffusion/ddpm.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-ced132d581f5fb36cac77f1db3d5d46e08054626b5208045651bffbd5bfd59ba |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949617 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| use-fstring-for-formatting | https://docs.sourcery.ai/refactorings/use-fstring-for-formatting/ |
| swap-if-expression | https://docs.sourcery.ai/refactorings/swap-if-expression/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/diffusion/ddpm.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-ced132d581f5fb36cac77f1db3d5d46e08054626b5208045651bffbd5bfd59ba |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949620 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-zero-from-range | https://docs.sourcery.ai/refactorings/remove-zero-from-range/ |
| reintroduce-else | https://docs.sourcery.ai/refactorings/reintroduce-else/ |
| assign-if-exp | https://docs.sourcery.ai/refactorings/assign-if-exp/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/diffusion/ddpm.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-ced132d581f5fb36cac77f1db3d5d46e08054626b5208045651bffbd5bfd59ba |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949622 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| merge-dict-assign | https://docs.sourcery.ai/refactorings/merge-dict-assign/ |
| move-assign-in-block | https://docs.sourcery.ai/refactorings/move-assign-in-block/ |
| simplify-dictionary-update | https://docs.sourcery.ai/refactorings/simplify-dictionary-update/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| ldm/models/diffusion/ddpm.py | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1/files/6a4445416fb817f5327a5bde6ee3b51e215a5fd8#diff-ced132d581f5fb36cac77f1db3d5d46e08054626b5208045651bffbd5bfd59ba |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#discussion_r943949625 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| use-fstring-for-concatenation | https://docs.sourcery.ai/refactorings/use-fstring-for-concatenation/ |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| sourcery-ai | https://patch-diff.githubusercontent.com/apps/sourcery-ai |
| Aug 11, 2022 | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1#issuecomment-1212509244 |
| Complexity | https://docs.sourcery.ai/GitHub/Quality-Report/#complexity |
| Method Length | https://docs.sourcery.ai/GitHub/Quality-Report/#method-length |
| Working memory | https://docs.sourcery.ai/GitHub/Quality-Report/#working-memory |
| Quality | https://docs.sourcery.ai/GitHub/Quality-Report/#quality-score |
| here | https://docs.sourcery.ai/GitHub/Quality-Report/ |
| improve | https://research.typeform.com/to/j06Spdfr?type=quality_report&github_login=sourcery-ai%5Bbot%5D&base_repo=https%3A%2F%2Fgithub.com%2Fed-science%2Fstable-diffusion.git&base_remote_ref=refs%2Fpull%2F1%2Fhead&base_ref=sourcery%2Fmain&base_sha=6a4445416fb817f5327a5bde6ee3b51e215a5fd8&head_repo=https%3A%2F%2Fgithub.com%2Fed-science%2Fstable-diffusion.git&head_ref=sourcery%2Fsourcery%2Fmain&base_pr_number=1&base_pr_state=open |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fedson-github%2Fstable-diffusion%2Fpull%2F1 |
|
| https://patch-diff.githubusercontent.com/edson-github |
|
edson-github
| https://patch-diff.githubusercontent.com/edson-github |
| Please reload this page | https://patch-diff.githubusercontent.com/edson-github/stable-diffusion/pull/1 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |