Dagfinn1962 commited on
Commit
7ae41e7
·
verified ·
1 Parent(s): 00288de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
-
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").launch(enable_queue=True, debug=True,share=share,theme=dark)
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") as demo:
43
  grad.Interface(fn=generate,
44
  inputs=txt,
45
  outputs=out,
 
49
  article='',
50
  allow_flagging='never',
51
  cache_examples=False,
52
+ theme="default")demo.launch(enable_queue=True, debug=True)
53
 
54