Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,17 +38,15 @@ for x in range(8):
|
|
38 |
examples.append(line[random.randrange(0, len(line))].replace("\n", "").lower().capitalize())
|
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 |
|
43 |
grad.Interface(fn=generate,
|
44 |
inputs=txt,
|
45 |
outputs=out,
|
46 |
examples=examples,
|
47 |
title=title,
|
48 |
-
description=description,
|
49 |
article='',
|
50 |
allow_flagging='never',
|
51 |
cache_examples=False,
|
52 |
-
theme="
|
53 |
|
54 |
|
|
|
38 |
examples.append(line[random.randrange(0, len(line))].replace("\n", "").lower().capitalize())
|
39 |
|
40 |
title = "Stable Diffusion Prompt Generator"
|
|
|
41 |
|
42 |
grad.Interface(fn=generate,
|
43 |
inputs=txt,
|
44 |
outputs=out,
|
45 |
examples=examples,
|
46 |
title=title,
|
|
|
47 |
article='',
|
48 |
allow_flagging='never',
|
49 |
cache_examples=False,
|
50 |
+
theme="Nymbo/Nymbo_Theme").launch(enable_queue=True, debug=True)
|
51 |
|
52 |
|