Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,10 @@ def upload_image(url):
|
|
36 |
|
37 |
@app.get("/images_list")
|
38 |
async def get_images():
|
|
|
39 |
list_files = imagekit.list_files(options=ListAndSearchFileRequestOptions(skip=0, limit = 10))
|
40 |
-
|
|
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
import uvicorn
|
|
|
36 |
|
37 |
@app.get("/images_list")
|
38 |
async def get_images():
|
39 |
+
|
40 |
list_files = imagekit.list_files(options=ListAndSearchFileRequestOptions(skip=0, limit = 10))
|
41 |
+
|
42 |
+
return list_
|
43 |
|
44 |
if __name__ == "__main__":
|
45 |
import uvicorn
|