Luke Stanley commited on
Commit
6bfaa63
·
1 Parent(s): 56e7667

Reduce max_iterations value in chill.py

Browse files
Files changed (1) hide show
  1. chill.py +2 -2
chill.py CHANGED
@@ -40,7 +40,7 @@ global suggestions
40
  suggestions = []
41
  last_edit = ""
42
  start_time = time.time()
43
- max_iterations = 20
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 = 20
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):