File size: 1,157 Bytes
293705e
 
 
 
 
 
 
 
 
 
 
f2a4883
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: Starline
emoji: ๐Ÿ‘€
colorFrom: indigo
colorTo: gray
sdk: gradio
sdk_version: 4.31.5
app_file: app.py
pinned: false
---

# starline
**St**rict coloring m**a**chine fo**r** **line** drawings.


![image](https://github.com/mattyamonaca/starline/assets/48423148/eae07a6e-9c7b-4292-8c70-dac8ec8eeb7b)


https://github.com/mattyamonaca/starline/assets/48423148/8199c65c-a19f-42e9-aab7-df5ed6ef5b4c


# Usage
- ```python app.py```
- Input the line drawing you wish to color (The background should be transparent).
- Input a prompt describing the color you want to add.

- ่ƒŒๆ™ฏใ‚’้€้Žใ—ใŸ็Šถๆ…‹ใง็ทš็”ปใ‚’ๅ…ฅๅŠ›ใ—ใพใ™
- ไป˜ใ‘ใŸใ„่‰ฒใ‚’่ชฌๆ˜Žใ™ใ‚‹ใƒ—ใƒญใƒณใƒ—ใƒˆใ‚’ๅ…ฅๅŠ›ใ—ใพใ™

# Precautions
- Image size 1024 x 1024 is recommended.
- Aliasing is a beta version.
- Areas finely surrounded by line drawings cannot be colored.

- ็”ปๅƒใ‚ตใ‚คใ‚บใฏ1024ร—1024ใ‚’ๆŽจๅฅจใ—ใพใ™
- ใ‚จใ‚คใƒชใ‚ขใ‚นๅ‡ฆ็†ใฏฮฒ็‰ˆใงใ™ใ€‚ใ‚ˆใ‚Š็ทš็”ปใซๅฟ ๅฎŸใงใ‚ใ‚‹ใ“ใจใ‚’ๆฑ‚ใ‚ใ‚‹ๅ ดๅˆใฏ2ๅ€ค็ทš็”ปใ‚’ๆŽจๅฅจใ—ใพใ™
- ็ทš็”ปใง็ดฐใ‹ใๅ›ฒใพใ‚ŒใŸ้ƒจๅˆ†ใฏ็€่‰ฒใงใใพใ›ใ‚“ใ€‚็€่‰ฒใงใใชใ„้ƒจๅˆ†ใฏ้€้Žใ—ใŸ็Šถๆ…‹ใงๅ‡บๅŠ›ใ•ใ‚Œใพใ™ใ€‚