zliang commited on
Commit
94892a4
1 Parent(s): 0d3f02c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- pass
 
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