Update app.py
Browse files
app.py
CHANGED
@@ -9,12 +9,6 @@ from queue import Queue
|
|
9 |
from threading import Thread
|
10 |
import emoji
|
11 |
|
12 |
-
text_gen=gr.Interface.load("spaces/Gustavosta/MagicPrompt-Stable-Diffusion")
|
13 |
-
def get_prompts(prompt_text):
|
14 |
-
if prompt_text:
|
15 |
-
return text_gen("dreamlikeart, " + prompt_text)
|
16 |
-
else:
|
17 |
-
return text_gen("")
|
18 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
19 |
|
20 |
def restart_script_periodically():
|
@@ -108,7 +102,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
108 |
).style(
|
109 |
container=False,
|
110 |
)
|
111 |
-
|
112 |
|
113 |
|
114 |
with gr.Row(variant="compact"):
|
|
|
9 |
from threading import Thread
|
10 |
import emoji
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
13 |
|
14 |
def restart_script_periodically():
|
|
|
102 |
).style(
|
103 |
container=False,
|
104 |
)
|
105 |
+
|
106 |
|
107 |
|
108 |
with gr.Row(variant="compact"):
|