Update app.py
Browse files
app.py
CHANGED
|
@@ -41,6 +41,6 @@ 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 |
this=grad.Interface(fn=generate,inputs=txt,outputs=out)
|
| 44 |
-
this.launch(
|
| 45 |
|
| 46 |
|
|
|
|
| 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 |
this=grad.Interface(fn=generate,inputs=txt,outputs=out)
|
| 44 |
+
this.launch(max_threads=220)
|
| 45 |
|
| 46 |
|