Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,20 +3,14 @@ import gradio as gr
|
|
3 |
from convert import convert
|
4 |
|
5 |
DESCRIPTION = """
|
6 |
-
|
|
|
|
|
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.
|
9 |
-
- Input a model id from the Hub
|
10 |
-
- Input the filename from the root dir of the repo that you would like to convert, e.g. 'v2-1_768-ema-pruned.ckpt' or 'v1-5-pruned.safetensors'
|
11 |
-
- Chose which Stable Diffusion version, image size, scheduler type the model has and whether you want the "ema", or "non-ema" weights.
|
12 |
-
- Click "Submit"
|
13 |
-
- 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 🔥
|
14 |
-
|
15 |
-
⚠️ 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.
|
16 |
"""
|
17 |
|
18 |
demo = gr.Interface(
|
19 |
-
title="
|
20 |
description=DESCRIPTION,
|
21 |
allow_flagging="never",
|
22 |
article="Check out the [Diffusers repo on GitHub](https://github.com/huggingface/diffusers)",
|
|
|
3 |
from convert import convert
|
4 |
|
5 |
DESCRIPTION = """
|
6 |
+
- ⚠️ Oops! I broke the space and reverting the changes didn't fix it. Please use the alternatives below: ⚠️
|
7 |
+
- https://huggingface.co/spaces/diffusers/sd-to-diffusers (the original)
|
8 |
+
- https://huggingface.co/spaces/Yntec/sd-to-diffusers-backup (my back up)
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"""
|
11 |
|
12 |
demo = gr.Interface(
|
13 |
+
title="No longer working",
|
14 |
description=DESCRIPTION,
|
15 |
allow_flagging="never",
|
16 |
article="Check out the [Diffusers repo on GitHub](https://github.com/huggingface/diffusers)",
|