Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
b9944f5
1
Parent(s):
d8dae6c
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ restart_thread = Thread(target=restart_script_periodically, daemon=True)
|
|
20 |
restart_thread.start()
|
21 |
|
22 |
queue = Queue()
|
23 |
-
queue_threshold =
|
24 |
|
25 |
def add_random_noise(prompt, noise_level=0.07):
|
26 |
# Get the percentage of characters to add as noise
|
@@ -144,4 +144,4 @@ with gr.Blocks() as myface:
|
|
144 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
145 |
|
146 |
myface.launch(enable_queue=True, inline=True)
|
147 |
-
block.queue(concurrency_count=
|
|
|
20 |
restart_thread.start()
|
21 |
|
22 |
queue = Queue()
|
23 |
+
queue_threshold = 100
|
24 |
|
25 |
def add_random_noise(prompt, noise_level=0.07):
|
26 |
# Get the percentage of characters to add as noise
|
|
|
144 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
145 |
|
146 |
myface.launch(enable_queue=True, inline=True)
|
147 |
+
block.queue(concurrency_count=100)
|