Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -76,6 +76,6 @@ def api_home():
|
|
76 |
|
77 |
@app.post("/generate_topics/")
|
78 |
async def create_topics(input: TopicInput):
|
79 |
-
topics = generate_topics(input.user_input, input.num_topics, input.
|
80 |
return {"topics": topics}
|
81 |
|
|
|
76 |
|
77 |
@app.post("/generate_topics/")
|
78 |
async def create_topics(input: TopicInput):
|
79 |
+
topics = generate_topics(input.user_input, input.num_topics, input.previous_query)
|
80 |
return {"topics": topics}
|
81 |
|