add duplicate spaces badge

#29
by akhaliq HF staff - opened
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -38,7 +38,12 @@ 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,
 
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
+ <p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
43
+ <br/>
44
+ <a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion?duplicate=true">
45
+ <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
46
+ <p/>"""
47
 
48
  grad.Interface(fn=generate,
49
  inputs=txt,