Spaces:
Sleeping
Sleeping
Luke Stanley
commited on
Commit
·
6bfaa63
1
Parent(s):
56e7667
Reduce max_iterations value in chill.py
Browse files
chill.py
CHANGED
@@ -40,7 +40,7 @@ global suggestions
|
|
40 |
suggestions = []
|
41 |
last_edit = ""
|
42 |
start_time = time.time()
|
43 |
-
max_iterations =
|
44 |
|
45 |
|
46 |
def improve_text_attempt():
|
@@ -120,7 +120,7 @@ def improvement_loop(input_text):
|
|
120 |
suggestions = []
|
121 |
last_edit = ""
|
122 |
start_time = time.time()
|
123 |
-
max_iterations =
|
124 |
original_text = input_text
|
125 |
|
126 |
for iteration in range(1, max_iterations + 1):
|
|
|
40 |
suggestions = []
|
41 |
last_edit = ""
|
42 |
start_time = time.time()
|
43 |
+
max_iterations = 4
|
44 |
|
45 |
|
46 |
def improve_text_attempt():
|
|
|
120 |
suggestions = []
|
121 |
last_edit = ""
|
122 |
start_time = time.time()
|
123 |
+
max_iterations = 4
|
124 |
original_text = input_text
|
125 |
|
126 |
for iteration in range(1, max_iterations + 1):
|