Dagfinn1962 commited on
Commit
214d2de
·
verified ·
1 Parent(s): 4e3ba67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -39,8 +39,10 @@ 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,
46
  examples=examples,
 
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(css=css,
44
+ theme=dark,
45
+ fn=generate,
46
  inputs=txt,
47
  outputs=out,
48
  examples=examples,