• Stars
    star
    351
  • Rank 120,160 (Top 3 %)
  • Language
  • License
    Apache License 2.0
  • Created almost 2 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hua is an AI image editor with Stable Diffusion (and more).

Hua

Hua is an AI image editor with Stable Diffusion and more (Hua means paint in Chinese).

Website: https://www.PaintHua.com

Discord: https://discord.gg/y9kMYtjgFZ

B站视频: https://www.bilibili.com/video/BV16e4y1a7ne

Closed Alpha at this moment. The frontend will be open-source after I finish all major functions and refactor the code, as now it's full of hacks (100% vanilla JS) and very easy to bring in bugs if one don't fully understand it. Meanwhile I will also write a clean & efficient backend for it and that will be open-source from the beginning.

About me: I am working on https://github.com/BlinkDL/RWKV-LM too, whose training is sponsored by Stability. So you can be assured that Hua is safe :)

Use Colab

https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

!pip install -q inflection

share='--api --cors-allow-origins=https://www.painthua.com'

Use your local A1111 server

This is 100% free.

  • Update A1111 to LATEST version with git pull.
  • In webui-user.bat:
set COMMANDLINE_ARGS=--api --port xxxxx --cors-allow-origins=https://www.painthua.com

where xxxxx is a random unoccupied port between 10000 and 60000 (for safety).

  • Don't comment "app.user_middleware = ...". The new "--cors-allow-origins" is much safer.
  • Open PaintHua config, change 7860 to your number xxxxx, close config to apply.
  • Use sd-v1.5-inpainting model (https://huggingface.co/runwayml/stable-diffusion-inpainting) for best results.
  • More A1111 settings: Turn off "Apply color correction to img2img results".
  • Run A1111 with --listen to allow LAN access. When connecting to IP other than 127.0.0.1, google "enable mixed content" and change site settings. Because the site is HTTPS but A1111 server is HTTP, so the browser is blocking HTTP requests by default.

Then you can use https://www.PaintHua.com for txt2img / img2img / inpainting / outpainting.

More Repositories

1

RWKV-LM

RWKV is an RNN with transformer-level LLM performance. It can be directly trained like a GPT (parallelizable). So it's combining the best of RNN and transformer - great performance, fast inference, saves VRAM, fast training, "infinite" ctx_len, and free sentence embedding.
Python
11,940
star
2

ChatRWKV

ChatRWKV is like ChatGPT but powered by RWKV (100% RNN) language model, and open source.
Python
9,333
star
3

AI-Writer

AI 写小说,生成玄幻和言情网文等等。中文预训练生成模型。采用我的 RWKV 模型,类似 GPT-2 。AI写作。RWKV for Chinese novel generation.
Python
2,791
star
4

RWKV-CUDA

The CUDA version of the RWKV language model ( https://github.com/BlinkDL/RWKV-LM )
Cuda
202
star
5

BlinkDL.github.io

A collection of State of the Art results in AI / ML / DL / RL / CV / NLP.
88
star
6

BlinkDL

A minimalist deep learning library in Javascript using WebGL + asm.js. Run convolutional neural network in your browser.
JavaScript
82
star
7

YYDZ

丁真宇宙,一眼丁真合集,已有两千多张图片。The YYDZ (Yi Yan Ding Zhen / One Eye Ding Zhen) dataset.
79
star
8

RWKV-v2-RNN-Pile

RWKV-v2-RNN trained on the Pile. See https://github.com/BlinkDL/RWKV-LM for details.
Python
65
star
9

BookCNN

《深度卷积网络:原理与实践》现已在淘宝天猫京东当当发售. 这里是其中的代码下载.
Jupyter Notebook
55
star
10

LinearAttentionArena

Here we will test various linear attention designs.
Python
50
star
11

SmallInitEmb

LayerNorm(SmallInit(Embedding)) in a Transformer to improve convergence
Python
45
star
12

WorldModel

Let us make Psychohistory (as in Asimov) a reality, and accessible to everyone. Useful for LLM grounding and games / fiction / business / finance / governance, and can align agents with human too.
40
star
13

LM-Trick-Questions

Here we collect trick questions and failed tasks for open source LLMs to improve them.
31
star
14

Basis

The Basis Programming Language
Python
27
star
15

BlinkToDo

A minimalist ToDo.txt page. 如果你的ToDo有一百项以上,试试这个基于txt的极简事项管理工具。
JavaScript
25
star
16

AntiAging

List of Anti-aging Research
11
star
17

RWKV.com

HTML
10
star
18

Nala

The Nala markup, to turn a "Natural Language" sentence into a code-like statement. Nala 标注,将自然语言变为编程语言。
9
star
19

PathTracingJS

Path tracing demo with JS in your web browser. 用浏览器JS做路径跟踪渲染。
JavaScript
7
star
20

BlinkColorTheme

A colorful theme for HTML+JS+CSS.
CSS
4
star
21

Model_Leaderboard

Leaderboard of AI models.
HTML
3
star
22

MathBook

一个较为系统的数学笔记(graduate level)
2
star
23

BasisLang.com

BasisLang.com
HTML
1
star