pause the task
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def ask(query, timeout=600):
|
|
118 |
def askingChatGPT(qs, qas, min_interval_seconds=3, max_interval_seconds=15, max_retry_times=3):
|
119 |
|
120 |
history_elapsed_time = [max_interval_seconds]*10
|
121 |
-
|
122 |
for i, q in enumerate(qs):
|
123 |
ask_start_time = time.time()
|
124 |
|
|
|
118 |
def askingChatGPT(qs, qas, min_interval_seconds=3, max_interval_seconds=15, max_retry_times=3):
|
119 |
|
120 |
history_elapsed_time = [max_interval_seconds]*10
|
121 |
+
return
|
122 |
for i, q in enumerate(qs):
|
123 |
ask_start_time = time.time()
|
124 |
|