Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
49634cd
1
Parent(s):
019ffe6
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ def reset_queue_periodically():
|
|
17 |
if time.time() - start_time > 300: # 300 seconds = 5 minutes
|
18 |
queue.queue.clear()
|
19 |
start_time = time.time()
|
20 |
-
time.sleep(1)
|
21 |
|
22 |
def add_random_noise(prompt, noise_level=0.07):
|
23 |
# Get the percentage of characters to add as noise
|
|
|
17 |
if time.time() - start_time > 300: # 300 seconds = 5 minutes
|
18 |
queue.queue.clear()
|
19 |
start_time = time.time()
|
|
|
20 |
|
21 |
def add_random_noise(prompt, noise_level=0.07):
|
22 |
# Get the percentage of characters to add as noise
|