Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,27 @@ import gradio as gr
|
|
| 3 |
from convert import convert
|
| 4 |
|
| 5 |
DESCRIPTION = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
The steps are the following:
|
| 7 |
|
| 8 |
- Paste a read-access token from hf.co/settings/tokens. Read access is enough given that we will open a PR against the source repo.
|
|
@@ -15,10 +36,10 @@ The steps are the following:
|
|
| 15 |
"""
|
| 16 |
|
| 17 |
demo = gr.Interface(
|
| 18 |
-
title="
|
| 19 |
description=DESCRIPTION,
|
| 20 |
allow_flagging="never",
|
| 21 |
-
article="Check out the [Diffusers
|
| 22 |
inputs=[
|
| 23 |
gr.Text(max_lines=1, label="your_hf_token"),
|
| 24 |
gr.Text(max_lines=1, label="model_id"),
|
|
|
|
| 3 |
from convert import convert
|
| 4 |
|
| 5 |
DESCRIPTION = """
|
| 6 |
+
|
| 7 |
+
<div style="display: flex; flex-wrap: wrap; gap: 2px;">
|
| 8 |
+
<img src="https://img.shields.io/badge/%F0%9F%94%A5%20Refiner%20Compatible-Yes-success">
|
| 9 |
+
<img src="https://img.shields.io/badge/%F0%9F%92%BB%20CLIP--ViT%2FG%20and%20CLIP--ViT%2FL%20tested-Yes-success">
|
| 10 |
+
<img src="https://img.shields.io/badge/Tested%20on-SDXL%200.9%20%26%20FFXL%200.001-blue">
|
| 11 |
+
</div>
|
| 12 |
+
<div style="display: flex; flex-wrap: wrap; gap: 2px;">
|
| 13 |
+
<a href="https://huggingface.co/FFusion/FFusion-BaSE" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Hugging%20Face-FFusion--BaSE-blue" alt="Hugging Face Model"></a>
|
| 14 |
+
<a href="https://github.com/1e-2" target="_new" rel="ugc"><img src="https://img.shields.io/badge/GitHub-1e--2-green" alt="GitHub"></a>
|
| 15 |
+
<a href="https://www.facebook.com/FFusionAI/" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Facebook-FFusionAI-blue" alt="Facebook"></a>
|
| 16 |
+
<a href="https://civitai.com/models/82039/ffusion-ai-sd-21" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Civitai-FFusionAI-blue" alt="Civitai"></a>
|
| 17 |
+
</div>
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
🔥🔥🔥 Tested ON:
|
| 21 |
+
<div style="display: flex; flex-wrap: wrap; gap: 10px; align-items: center;">
|
| 22 |
+
<a href="https://huggingface.co/stabilityai/stable-diffusion-xl-base-0.9" target="_new" rel="ugc"><img src="https://img.shields.io/badge/stable--diffusion--xl--base--0.9-Model-purple" alt="stable-diffusion-xl-base-0.9"></a>
|
| 23 |
+
<p>&</p>
|
| 24 |
+
<a href="https://huggingface.co/FFusion/FFusionXL-09-SDXL" target="_new" rel="ugc"><img src="https://img.shields.io/badge/FFusionXL--09--SDXL-Model-pink" alt="FFusionXL-09-SDXL"></a>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
The steps are the following:
|
| 28 |
|
| 29 |
- Paste a read-access token from hf.co/settings/tokens. Read access is enough given that we will open a PR against the source repo.
|
|
|
|
| 36 |
"""
|
| 37 |
|
| 38 |
demo = gr.Interface(
|
| 39 |
+
title="Stable Diffusion XL checkpoint to Diffusers and open a PR",
|
| 40 |
description=DESCRIPTION,
|
| 41 |
allow_flagging="never",
|
| 42 |
+
article="Check out the [Diffusers from FFXL on HuggingFace](https://https://huggingface.co/FFusion/FFusionXL-09-SDXL)",
|
| 43 |
inputs=[
|
| 44 |
gr.Text(max_lines=1, label="your_hf_token"),
|
| 45 |
gr.Text(max_lines=1, label="model_id"),
|