Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,17 +2,22 @@ import gradio as gr
|
|
2 |
import os
|
3 |
from convert_repo_to_safetensors_sd_gr import convert_repo_to_safetensors_multi_sd
|
4 |
|
5 |
-
DESCRIPTION = """
|
6 |
-
- For original behavior 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 |
os.environ['HF_OUTPUT_REPO'] = 'Yntec/lnkdn'
|
13 |
|
14 |
css = """"""
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", css=css) as demo:
|
17 |
with gr.Column():
|
18 |
repo_id = gr.Textbox(label="Repo ID", placeholder="author/model", value="", lines=1)
|
|
|
2 |
import os
|
3 |
from convert_repo_to_safetensors_sd_gr import convert_repo_to_safetensors_multi_sd
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
os.environ['HF_OUTPUT_REPO'] = 'Yntec/lnkdn'
|
6 |
|
7 |
css = """"""
|
8 |
|
9 |
+
with gr.Blocks() as demo:
|
10 |
+
gr.HTML(
|
11 |
+
"""
|
12 |
+
<div>
|
13 |
+
<p> <center>- For original behavior please use the alternatives below:
|
14 |
+
- https://huggingface.co/spaces/diffusers/sd-to-diffusers (the original)
|
15 |
+
- https://huggingface.co/spaces/Yntec/sd-to-diffusers-backup (my back up)
|
16 |
+
</center>
|
17 |
+
</p></div>
|
18 |
+
"""
|
19 |
+
)
|
20 |
+
|
21 |
with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", css=css) as demo:
|
22 |
with gr.Column():
|
23 |
repo_id = gr.Textbox(label="Repo ID", placeholder="author/model", value="", lines=1)
|