Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,10 @@ import emoji
|
|
13 |
text_gen=gr.Interface.load("spaces/Dao3/MagicPrompt-Stable-Diffusion")
|
14 |
def get_prompts(prompt_text):
|
15 |
if prompt_text:
|
16 |
-
return text_gen("
|
17 |
else:
|
18 |
return text_gen("")
|
19 |
-
proc1=gr.Interface.load("models/
|
20 |
|
21 |
def restart_script_periodically():
|
22 |
while True:
|
|
|
13 |
text_gen=gr.Interface.load("spaces/Dao3/MagicPrompt-Stable-Diffusion")
|
14 |
def get_prompts(prompt_text):
|
15 |
if prompt_text:
|
16 |
+
return text_gen("openjourneyart, " + prompt_text)
|
17 |
else:
|
18 |
return text_gen("")
|
19 |
+
proc1=gr.Interface.load("models/prompthero/openjourney")
|
20 |
|
21 |
def restart_script_periodically():
|
22 |
while True:
|