Spaces:
Runtime error
Runtime error
Commit
·
032b672
1
Parent(s):
4f5b92d
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ import emoji
|
|
| 12 |
text_gen=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
|
| 13 |
def get_prompts(prompt_text):
|
| 14 |
if prompt_text:
|
| 15 |
-
return text_gen("
|
| 16 |
else:
|
| 17 |
return text_gen("")
|
| 18 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-anime-1.0")
|
|
|
|
| 12 |
text_gen=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
|
| 13 |
def get_prompts(prompt_text):
|
| 14 |
if prompt_text:
|
| 15 |
+
return text_gen("photo anime, masterpiece, high quality, absurdres, " + prompt_text)
|
| 16 |
else:
|
| 17 |
return text_gen("")
|
| 18 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-anime-1.0")
|