Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
072a045
1
Parent(s):
b10e294
Update app.py
Browse files
app.py
CHANGED
@@ -79,13 +79,8 @@ def send_it8(inputs, noise_level, proc1=proc1):
|
|
79 |
return output8
|
80 |
|
81 |
|
82 |
-
|
83 |
-
|
84 |
-
return text_gen(prompt_text)
|
85 |
-
|
86 |
-
thread = threading.Thread(target=prompt_text, args=(get_prompts,))
|
87 |
-
thread.start()
|
88 |
-
|
89 |
|
90 |
|
91 |
with gr.Blocks() as myface:
|
|
|
79 |
return output8
|
80 |
|
81 |
|
82 |
+
def get_prompts(prompt_text, queue=None):
|
83 |
+
return text_gen(prompt_text, queue=queue)
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
|
86 |
with gr.Blocks() as myface:
|