Skip to content

Commit bfde0e4

Browse files
committed
Added ability to generate product embeddings from main.
1 parent 8894c24 commit bfde0e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/backend/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
from database.data_helpers import get_product_embeddings
33
import uvicorn
44

5+
# Registering API endpoints.
56
from api.endpoints import handle_new_chat_message_from_user, get_products_by_description
7+
68
if __name__ == "__main__":
79
#get_product_embeddings()
810
uvicorn.run(app, host="0.0.0.0", port=8000)

0 commit comments

Comments
 (0)