Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,10 +3,8 @@ import gradio as gr
|
|
3 |
from convert import convert
|
4 |
|
5 |
DESCRIPTION = """
|
6 |
-
🔥🔥🔥 Tested ON:
|
7 |
-
|
8 |
<div style="display: flex; flex-wrap: wrap; gap: 10px; align-items: center;">
|
9 |
-
<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>
|
10 |
<p>&</p>
|
11 |
<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>
|
12 |
</div>
|
@@ -20,22 +18,18 @@ The steps are the following:
|
|
20 |
- That's it! You'll get feedback if it works or not, and if it worked, you'll get the URL of the opened PR 🔥
|
21 |
|
22 |
⚠️ If you encounter weird error messages, please have a look into the Logs and feel free to open a PR to correct the error messages.
|
23 |
-
<img src="https://img.shields.io/badge/Tested%20on-SDXL%200.9%20%26%20FFXL%200.001-blue">
|
24 |
-
|
25 |
-
<div style="display: flex; flex-wrap: wrap; gap: 2px;">
|
26 |
-
<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>
|
27 |
-
<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>
|
28 |
-
<a href="https://www.facebook.com/FFusionAI/" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Facebook-FFusionAI-blue" alt="Facebook"></a>
|
29 |
-
<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>
|
30 |
-
</div>
|
31 |
|
|
|
32 |
"""
|
33 |
|
34 |
demo = gr.Interface(
|
35 |
-
title="Stable Diffusion XL
|
36 |
description=DESCRIPTION,
|
37 |
allow_flagging="never",
|
38 |
-
article="Check out the [Diffusers from FFXL on HuggingFace](https://https://huggingface.co/FFusion/FFusionXL-09-SDXL)
|
|
|
|
|
|
|
39 |
inputs=[
|
40 |
gr.Text(max_lines=1, label="your_hf_token"),
|
41 |
gr.Text(max_lines=1, label="model_id"),
|
|
|
3 |
from convert import convert
|
4 |
|
5 |
DESCRIPTION = """
|
|
|
|
|
6 |
<div style="display: flex; flex-wrap: wrap; gap: 10px; align-items: center;">
|
7 |
+
<p>🥽 Tested on: </p> <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>
|
8 |
<p>&</p>
|
9 |
<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>
|
10 |
</div>
|
|
|
18 |
- That's it! You'll get feedback if it works or not, and if it worked, you'll get the URL of the opened PR 🔥
|
19 |
|
20 |
⚠️ If you encounter weird error messages, please have a look into the Logs and feel free to open a PR to correct the error messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
+
|
23 |
"""
|
24 |
|
25 |
demo = gr.Interface(
|
26 |
+
title="Convert Stable Diffusion XL .safetensors to Diffusers and open a PR",
|
27 |
description=DESCRIPTION,
|
28 |
allow_flagging="never",
|
29 |
+
article="Check out the [Diffusers from FFXL on HuggingFace](https://https://huggingface.co/FFusion/FFusionXL-09-SDXL)
|
30 |
+
|
31 |
+
[![Hugging Face FFusionAI](https://img.shields.io/badge/Hugging%20Face-FFusion--BaSE-blue)](https://huggingface.co/FFusion/FFusion-BaSE)[![GitHub](https://img.shields.io/badge/GitHub-1e--2-green)](https://github.com/1e-2)[![Facebook](https://img.shields.io/badge/Facebook-FFusionAI-blue)](https://www.facebook.com/FFusionAI/)[![Civitai](https://img.shields.io/badge/Civitai-FFusionAI-blue)](https://civitai.com/models/82039/ffusion-ai-sd-21)
|
32 |
+
",
|
33 |
inputs=[
|
34 |
gr.Text(max_lines=1, label="your_hf_token"),
|
35 |
gr.Text(max_lines=1, label="model_id"),
|