Skip to content

Instantly share code, notes, and snippets.

View Neos21's full-sized avatar
:octocat:
https://neos21.net/

Neos21 Neos21

:octocat:
https://neos21.net/
View GitHub Profile
@Neos21
Neos21 / typescript.js
Last active September 13, 2022 07:23
JSAnywhere
This file has been truncated, but you can view the full file.
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
This file has been truncated, but you can view the full file.
#!/usr/bin/env node
/**
* @license Copyright 2021 Stackblitz, Inc. All Rights Reserved.
* Portions of this software are patent pending in USA and EU jurisdictions.
* More info available at https://stackblitz.com/terms-of-service
*/
! function(e, t) {
if ("object" == typeof exports && "object" == typeof module) module.exports = t(function() {
try {

2022-08-23 HなStable Diffusion : https://anond.hatelabo.jp/20220823205005

前提として、Stable Diffusionでエロ画像を出そうとしてもsafety checkerという機能が入っており、センシティブな画像を出そうとすると黒塗りになる。

(Stable DiffusionのSaaSであるDream Studioはぼかしだが、多分別の技術)

https://github.com/huggingface/diffusers/releases/tag/v0.2.3

そこでGoogle Colabでちゃちゃっと環境を作り、なおかつNSFWを回避する。