pvanand commited on
Commit
2062c62
·
verified ·
1 Parent(s): 0e32c26

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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=10)
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")