Kazel
commited on
Commit
·
8889abc
1
Parent(s):
58d195f
change
Browse files
rag.py
CHANGED
|
@@ -4,7 +4,6 @@ import os
|
|
| 4 |
from typing import List
|
| 5 |
from utils import encode_image
|
| 6 |
from PIL import Image
|
| 7 |
-
from ollama import chat
|
| 8 |
import torch
|
| 9 |
import subprocess
|
| 10 |
import psutil
|
|
@@ -153,4 +152,4 @@ class Rag:
|
|
| 153 |
# query = "Based on attached images, how many new cases were reported during second wave peak"
|
| 154 |
# imagesPaths = ["covid_slides_page_8.png", "covid_slides_page_8.png"]
|
| 155 |
|
| 156 |
-
# rag.get_answer_from_gemini(query, imagesPaths)
|
|
|
|
| 4 |
from typing import List
|
| 5 |
from utils import encode_image
|
| 6 |
from PIL import Image
|
|
|
|
| 7 |
import torch
|
| 8 |
import subprocess
|
| 9 |
import psutil
|
|
|
|
| 152 |
# query = "Based on attached images, how many new cases were reported during second wave peak"
|
| 153 |
# imagesPaths = ["covid_slides_page_8.png", "covid_slides_page_8.png"]
|
| 154 |
|
| 155 |
+
# rag.get_answer_from_gemini(query, imagesPaths)
|