gefiwek187
commited on
Update app.py
Browse files
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(
|
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"
|