Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
01315a3
1
Parent(s):
53a34a2
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,6 @@ def restart_script_periodically():
|
|
20 |
restart_thread = Thread(target=restart_script_periodically, daemon=True)
|
21 |
restart_thread.start()
|
22 |
|
23 |
-
queue = Queue()
|
24 |
-
queue_threshold = 100
|
25 |
|
26 |
def add_random_noise(prompt, noise_level=0.07):
|
27 |
# Get the percentage of characters to add as noise
|
|
|
20 |
restart_thread = Thread(target=restart_script_periodically, daemon=True)
|
21 |
restart_thread.start()
|
22 |
|
|
|
|
|
23 |
|
24 |
def add_random_noise(prompt, noise_level=0.07):
|
25 |
# Get the percentage of characters to add as noise
|