Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -115,5 +115,5 @@ async def create_report(input: ReportInput):
|
|
115 |
|
116 |
@app.post("/get_images")
|
117 |
async def fetch_images(input: imageInput):
|
118 |
-
images = get_images(input.
|
119 |
return {"images": images}
|
|
|
115 |
|
116 |
@app.post("/get_images")
|
117 |
async def fetch_images(input: imageInput):
|
118 |
+
images = get_images(input.user_input, input.num_images)
|
119 |
return {"images": images}
|