Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -110,6 +110,6 @@ async def create_report(input: ReportInput):
|
|
| 110 |
return {"report": report}
|
| 111 |
|
| 112 |
@app.post("/get_images")
|
| 113 |
-
async def get_images(input:
|
| 114 |
images = get_images(input.user_input, input.num_topics)
|
| 115 |
return {"images": images}
|
|
|
|
| 110 |
return {"report": report}
|
| 111 |
|
| 112 |
@app.post("/get_images")
|
| 113 |
+
async def get_images(input: TopicInput):
|
| 114 |
images = get_images(input.user_input, input.num_topics)
|
| 115 |
return {"images": images}
|