Update README.
This commit is contained in:
		
							parent
							
								
									b9b8f20736
								
							
						
					
					
						commit
						c8574a562d
					
				
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							@ -97,6 +97,7 @@ Add the model used for inference. Use the Safetensors file as is. VAE, LoRA, and
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
# ex)
 | 
			
		||||
version: "sd15" # Specify 'sd15' or 'sdxl'.
 | 
			
		||||
model:
 | 
			
		||||
  name: stable-diffusion-1-5
 | 
			
		||||
  url: https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned.safetensors # Specify URL for the safetensor file.
 | 
			
		||||
@ -117,6 +118,15 @@ loras:
 | 
			
		||||
    url: download_link_here # Specify the download link for the safetensor file.
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
If you want to use SDXL:
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
version: "sdxl"
 | 
			
		||||
model:
 | 
			
		||||
  name: stable-diffusion-xl
 | 
			
		||||
  url: https://huggingface.co/xxxx/xxxx
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 4. Setting prompts
 | 
			
		||||
 | 
			
		||||
Set the prompt to Makefile.
 | 
			
		||||
@ -151,6 +161,10 @@ The txt2img inference is executed with the following command.
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
make img_by_sd15_txt2img
 | 
			
		||||
 | 
			
		||||
or
 | 
			
		||||
 | 
			
		||||
make img_by_sdxl_txt2img
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Thank you.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										14
									
								
								README_ja.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README_ja.md
									
									
									
									
									
								
							@ -99,6 +99,7 @@ HUGGING_FACE_TOKEN="ここにHuggingFaceのトークンを記載する"
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
# 設定例
 | 
			
		||||
version: "sd15" # Specify 'sd15' or 'sdxl'.
 | 
			
		||||
model:
 | 
			
		||||
  name: stable-diffusion-1-5
 | 
			
		||||
  url: https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned.safetensors # Specify URL for the safetensor file.
 | 
			
		||||
@ -119,6 +120,15 @@ loras:
 | 
			
		||||
    url: https://civitai.com/api/download/models/150907?type=Model&format=SafeTensor # ダウンロードリンクを指定
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
SDXLを使いたい場合は`version`に`sdxl`を指定し、urlに使いたいsdxlのモデルを指定します。
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
version: "sdxl"
 | 
			
		||||
model:
 | 
			
		||||
  name: stable-diffusion-xl
 | 
			
		||||
  url: https://huggingface.co/xxxx/xxxx
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 4. Makefileの設定(プロンプトの設定)
 | 
			
		||||
 | 
			
		||||
プロンプトをMakefileに設定します。
 | 
			
		||||
@ -164,4 +174,8 @@ make app
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
make img_by_sd15_txt2img
 | 
			
		||||
 | 
			
		||||
or
 | 
			
		||||
 | 
			
		||||
make img_by_sdxl_txt2img
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user