Spaces:
Running
on
Zero
Running
on
Zero
Upload 2 files
Browse files
README.md
CHANGED
@@ -4,13 +4,14 @@ emoji: 🧩🖼️📦
|
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
header: mini
|
11 |
license: mit
|
12 |
duplicated_from: r3gm/DiffuseCraft
|
13 |
short_description: Stunning images using stable diffusion.
|
|
|
14 |
---
|
15 |
|
16 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.43.0
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
header: mini
|
11 |
license: mit
|
12 |
duplicated_from: r3gm/DiffuseCraft
|
13 |
short_description: Stunning images using stable diffusion.
|
14 |
+
hf_oauth: true
|
15 |
---
|
16 |
|
17 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -1645,12 +1645,10 @@ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', elem_id="main", fill_width=True, cs
|
|
1645 |
copy_prompt_btn.click(gradio_copy_prompt, inputs=[output_text], outputs=[prompt_gui])
|
1646 |
copy_prompt_btn_pony.click(gradio_copy_prompt, inputs=[output_text_pony], outputs=[prompt_gui])
|
1647 |
|
1648 |
-
|
|
|
|
|
1649 |
|
1650 |
app.queue()
|
1651 |
-
|
1652 |
-
app.launch(
|
1653 |
-
show_error=True,
|
1654 |
-
debug=True,
|
1655 |
-
)
|
1656 |
## END MOD
|
|
|
1645 |
copy_prompt_btn.click(gradio_copy_prompt, inputs=[output_text], outputs=[prompt_gui])
|
1646 |
copy_prompt_btn_pony.click(gradio_copy_prompt, inputs=[output_text_pony], outputs=[prompt_gui])
|
1647 |
|
1648 |
+
with gr.Row():
|
1649 |
+
gr.LoginButton()
|
1650 |
+
gr.DuplicateButton(value="Duplicate Space for private use (This demo does not work on CPU. Requires Space with GPU available.)")
|
1651 |
|
1652 |
app.queue()
|
1653 |
+
app.launch() #show_error=True, debug=True
|
|
|
|
|
|
|
|
|
1654 |
## END MOD
|