Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,13 +11,6 @@ from queue import Queue
|
|
11 |
from threading import Thread
|
12 |
import emoji
|
13 |
|
14 |
-
|
15 |
-
text_gen=gr.Interface.load("models/xiaolxl/Gf_style2")
|
16 |
-
def get_prompts(prompt_text):
|
17 |
-
if prompt_text:
|
18 |
-
return text_gen("photo, " + prompt_text)
|
19 |
-
else:
|
20 |
-
return text_gen("")
|
21 |
proc1=gr.Interface.load("models/xiaolxl/Gf_style2")
|
22 |
|
23 |
def restart_script_periodically():
|
|
|
11 |
from threading import Thread
|
12 |
import emoji
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
proc1=gr.Interface.load("models/xiaolxl/Gf_style2")
|
15 |
|
16 |
def restart_script_periodically():
|