Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -256,7 +256,7 @@ class TopicInputv2(BaseModel):
|
|
| 256 |
|
| 257 |
@app.post("/generate_topicsv2")
|
| 258 |
async def create_topics(input: TopicInputv2):
|
| 259 |
-
topics =
|
| 260 |
return {"topics": topics}
|
| 261 |
|
| 262 |
##############################
|
|
|
|
| 256 |
|
| 257 |
@app.post("/generate_topicsv2")
|
| 258 |
async def create_topics(input: TopicInputv2):
|
| 259 |
+
topics = generate_topics_v2(input.user_input, input.num_topics,input.num_subtopics)
|
| 260 |
return {"topics": topics}
|
| 261 |
|
| 262 |
##############################
|