srbdni
commited on
Commit
·
c2c1652
1
Parent(s):
e06db12
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,15 +37,14 @@ examples = []
|
|
| 37 |
for x in range(8):
|
| 38 |
examples.append(line[random.randrange(0, len(line))].replace("\n", "").lower().capitalize())
|
| 39 |
|
| 40 |
-
title = "
|
| 41 |
-
description = 'This is a
|
| 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,
|
|
|
|
| 37 |
for x in range(8):
|
| 38 |
examples.append(line[random.randrange(0, len(line))].replace("\n", "").lower().capitalize())
|
| 39 |
|
| 40 |
+
title = "Prompt Generator"
|
| 41 |
+
# description = 'This is a 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 |
article='',
|
| 49 |
allow_flagging='never',
|
| 50 |
cache_examples=False,
|