matinsn2000 commited on
Commit
20480a6
·
1 Parent(s): f22d5ac

Changed the swagger title

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. cloudzy/routes/photo.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ async def lifespan(app: FastAPI):
36
 
37
  # Create FastAPI app
38
  app = FastAPI(
39
- title="Cloudzy AI",
40
  description="Cloud photo management with AI tagging, captioning, and semantic search",
41
  version="1.0.0",
42
  lifespan=lifespan,
 
36
 
37
  # Create FastAPI app
38
  app = FastAPI(
39
+ title="Image tagging and search with AI",
40
  description="Cloud photo management with AI tagging, captioning, and semantic search",
41
  version="1.0.0",
42
  lifespan=lifespan,
cloudzy/routes/photo.py CHANGED
@@ -92,7 +92,7 @@ async def get_albums(
92
  """
93
 
94
  search_engine = SearchEngine()
95
- albums_ids = search_engine.create_albums_kmeans(top_k=top_k)
96
 
97
  # Handle case where no albums were created (no images in database)
98
  if not albums_ids:
 
92
  """
93
 
94
  search_engine = SearchEngine()
95
+ albums_ids = search_engine.create_albums(top_k=top_k)
96
 
97
  # Handle case where no albums were created (no images in database)
98
  if not albums_ids: