Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
94f65f0
1
Parent(s):
6c23469
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ import time
|
|
8 |
from queue import Queue
|
9 |
from threading import Thread
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
15 |
|
16 |
def restart_script_periodically():
|
|
|
8 |
from queue import Queue
|
9 |
from threading import Thread
|
10 |
|
11 |
+
text_gen=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
|
12 |
+
def get_prompts(prompt_text):
|
13 |
+
return text_gen("dreamlikeart, " + prompt_text)
|
14 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
15 |
|
16 |
def restart_script_periodically():
|