gefiwek187 commited on
Commit
a2e7c4a
·
verified ·
1 Parent(s): 5847d77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,7 +135,7 @@ async def generate_report(topic: str = Query(..., description="The topic for the
135
  research = search(query)
136
  all_data = f"Query: {query}\nResearch: {research}\n"
137
 
138
- for _ in range(15):
139
  next_query = generate_another_quory(topic, os.getenv("OPENAI_API_KEY"), os.getenv("OPENAI_API_BASE"), old_data=all_data)
140
  next_research = search(next_query)
141
  all_data += f"Query: {next_query}\nResearch: {next_research}\n"
 
135
  research = search(query)
136
  all_data = f"Query: {query}\nResearch: {research}\n"
137
 
138
+ for _ in range(7):
139
  next_query = generate_another_quory(topic, os.getenv("OPENAI_API_KEY"), os.getenv("OPENAI_API_BASE"), old_data=all_data)
140
  next_research = search(next_query)
141
  all_data += f"Query: {next_query}\nResearch: {next_research}\n"