Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
Β·
405e2af
1
Parent(s):
f92dc60
update
Browse files- README.md +2 -2
- app.py +1 -1
- assets/title.md +3 -3
- requirements.txt +1 -2
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
title: Kolors
|
| 3 |
emoji: πΌ
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Kolors
|
| 3 |
emoji: πΌ
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.38.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
app.py
CHANGED
|
@@ -135,7 +135,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
| 135 |
)
|
| 136 |
run_button = gr.Button("Run", scale=0)
|
| 137 |
with gr.Row():
|
| 138 |
-
ip_adapter_image = gr.Image(label="
|
| 139 |
with gr.Accordion("Advanced Settings", open=False):
|
| 140 |
negative_prompt = gr.Textbox(
|
| 141 |
label="Negative prompt",
|
|
|
|
| 135 |
)
|
| 136 |
run_button = gr.Button("Run", scale=0)
|
| 137 |
with gr.Row():
|
| 138 |
+
ip_adapter_image = gr.Image(label="Image Prompt (optional)", type="pil")
|
| 139 |
with gr.Accordion("Advanced Settings", open=False):
|
| 140 |
negative_prompt = gr.Textbox(
|
| 141 |
label="Negative prompt",
|
assets/title.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 2 |
<div>
|
| 3 |
<h1>Kolors</h1>
|
| 4 |
-
<span>Photorealistic Text-to-Image Synthesis
|
| 5 |
<br>
|
| 6 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 7 |
<a href="https://github.com/Kwai-Kolors/Kolors"><img src="https://img.shields.io/static/v1?label=Kolors Code&message=Github&color=blue&logo=github-pages"></a>  
|
| 8 |
<a href="https://kwai-kolors.github.io/"><img src="https://img.shields.io/static/v1?label=Team%20Page&message=Page&color=green"></a>  
|
| 9 |
-
<a href="https://github.com/Kwai-Kolors/Kolors/blob/master/imgs/Kolors_paper.pdf"><img src="https://img.shields.io/static/v1?label=Tech Report&message=
|
| 10 |
-
<a href="https://
|
| 11 |
</div>
|
| 12 |
</div>
|
| 13 |
</div>
|
|
|
|
| 1 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 2 |
<div>
|
| 3 |
<h1>Kolors</h1>
|
| 4 |
+
<span>Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis</span>
|
| 5 |
<br>
|
| 6 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 7 |
<a href="https://github.com/Kwai-Kolors/Kolors"><img src="https://img.shields.io/static/v1?label=Kolors Code&message=Github&color=blue&logo=github-pages"></a>  
|
| 8 |
<a href="https://kwai-kolors.github.io/"><img src="https://img.shields.io/static/v1?label=Team%20Page&message=Page&color=green"></a>  
|
| 9 |
+
<a href="https://github.com/Kwai-Kolors/Kolors/blob/master/imgs/Kolors_paper.pdf"><img src="https://img.shields.io/static/v1?label=Tech Report&message=Kolors&color=red"></a>  
|
| 10 |
+
<a href="https://klingai.kuaishou.com/"><img src="https://img.shields.io/static/v1?label=Official Website&message=Page&color=green"></a>
|
| 11 |
</div>
|
| 12 |
</div>
|
| 13 |
</div>
|
requirements.txt
CHANGED
|
@@ -3,5 +3,4 @@ diffusers==0.28.2
|
|
| 3 |
invisible_watermark==0.2.0
|
| 4 |
torch==2.2.0
|
| 5 |
transformers==4.42.4
|
| 6 |
-
sentencepiece==0.1.99
|
| 7 |
-
gradio==4.38.1
|
|
|
|
| 3 |
invisible_watermark==0.2.0
|
| 4 |
torch==2.2.0
|
| 5 |
transformers==4.42.4
|
| 6 |
+
sentencepiece==0.1.99
|
|
|