Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ for x in range(8):
|
|
| 39 |
|
| 40 |
title = "Stable Diffusion Prompt Generator"
|
| 41 |
description = 'This is a demo of the model series: "MagicPrompt", in this case, aimed at: "Stable Diffusion". To use it, simply submit your text or click on one of the examples. To learn more about the model, [click here](https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion).<br>'
|
| 42 |
-
with gr.Blocks(css=css,theme="dark")
|
| 43 |
grad.Interface(fn=generate,
|
| 44 |
inputs=txt,
|
| 45 |
outputs=out,
|
|
@@ -49,6 +49,6 @@ grad.Interface(fn=generate,
|
|
| 49 |
article='',
|
| 50 |
allow_flagging='never',
|
| 51 |
cache_examples=False,
|
| 52 |
-
theme="default")
|
| 53 |
|
| 54 |
|
|
|
|
| 39 |
|
| 40 |
title = "Stable Diffusion Prompt Generator"
|
| 41 |
description = 'This is a demo of the model series: "MagicPrompt", in this case, aimed at: "Stable Diffusion". To use it, simply submit your text or click on one of the examples. To learn more about the model, [click here](https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion).<br>'
|
| 42 |
+
with gr.Blocks(css=css,theme="dark")
|
| 43 |
grad.Interface(fn=generate,
|
| 44 |
inputs=txt,
|
| 45 |
outputs=out,
|
|
|
|
| 49 |
article='',
|
| 50 |
allow_flagging='never',
|
| 51 |
cache_examples=False,
|
| 52 |
+
theme="default").launch(enable_queue=True, debug=True)
|
| 53 |
|
| 54 |
|