KShivendu commited on
Commit
706d132
1 Parent(s): 0ccfd2a

feat: Add paddleocr and use qdrant local mode

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -12,7 +12,7 @@ from food_recommender.main import RecommendationEngine
12
 
13
  ocr = PaddleOCR(use_angle_cls=True, lang="en", use_gpu=False)
14
  llm = OpenAI(model="gpt-3.5-turbo")
15
- rec_engine = RecommendationEngine("food", QdrantClient(), TextEmbedding())
16
 
17
 
18
  def run_ocr(img_path):
 
12
 
13
  ocr = PaddleOCR(use_angle_cls=True, lang="en", use_gpu=False)
14
  llm = OpenAI(model="gpt-3.5-turbo")
15
+ rec_engine = RecommendationEngine("food", QdrantClient(":memory"), TextEmbedding())
16
 
17
 
18
  def run_ocr(img_path):
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  qdrant-client
2
  llama-index
3
  fastembed
 
 
1
  qdrant-client
2
  llama-index
3
  fastembed
4
+ paddleocr