Update main.py
Browse files
main.py
CHANGED
|
@@ -153,7 +153,7 @@ def generate_topics(user_input, num_topics, previous_queries):
|
|
| 153 |
subtopics = json_from_text(response_topics)
|
| 154 |
return subtopics
|
| 155 |
|
| 156 |
-
@retry(tries=3, delay=
|
| 157 |
def generate_subtopics(main_task,user_input,num_topics,excluded_topics):
|
| 158 |
print("trying")
|
| 159 |
raise ValueError("Intentional Exception for testing retry decorator")
|
|
|
|
| 153 |
subtopics = json_from_text(response_topics)
|
| 154 |
return subtopics
|
| 155 |
|
| 156 |
+
@retry(tries=3, delay=5)
|
| 157 |
def generate_subtopics(main_task,user_input,num_topics,excluded_topics):
|
| 158 |
print("trying")
|
| 159 |
raise ValueError("Intentional Exception for testing retry decorator")
|