saumitras commited on
Commit
bd7c7a5
·
unverified ·
1 Parent(s): 34ece21

change deps

Browse files
Files changed (2) hide show
  1. rag.py +2 -2
  2. requirements.txt +2 -2
rag.py CHANGED
@@ -1,6 +1,6 @@
1
  import requests
2
  import os
3
- from google import genai
4
 
5
  from typing import List
6
  from utils import encode_image
@@ -101,4 +101,4 @@ class Rag:
101
  # query = "Based on attached images, how many new cases were reported during second wave peak"
102
  # imagesPaths = ["covid_slides_page_8.png", "covid_slides_page_8.png"]
103
 
104
- # rag.get_answer_from_gemini(query, imagesPaths)
 
1
  import requests
2
  import os
3
+ import google.generativeai as genai
4
 
5
  from typing import List
6
  from utils import encode_image
 
101
  # query = "Based on attached images, how many new cases were reported during second wave peak"
102
  # imagesPaths = ["covid_slides_page_8.png", "covid_slides_page_8.png"]
103
 
104
+ # rag.get_answer_from_gemini(query, imagesPaths)
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  pydantic==2.10.6
2
- gradio
3
  PyMuPDF==1.24.9
4
  pdf2image==1.17.0
5
  pymilvus==2.4.9
@@ -7,4 +7,4 @@ colpali_engine==0.3.4
7
  tqdm==4.66.5
8
  pillow==10.4.0
9
  spaces==0.30.4
10
- google-genai==1.5.0
 
1
  pydantic==2.10.6
2
+ gradio==4.25.0
3
  PyMuPDF==1.24.9
4
  pdf2image==1.17.0
5
  pymilvus==2.4.9
 
7
  tqdm==4.66.5
8
  pillow==10.4.0
9
  spaces==0.30.4
10
+ google-generativeai==0.8.3