Commit
·
59cff76
1
Parent(s):
0ca755d
added req
Browse files- requirements.txt +4 -1
- src/pipelines.py +1 -1
requirements.txt
CHANGED
@@ -12,4 +12,7 @@ huggingface-hub==0.26.2
|
|
12 |
md2pdf==1.0.1
|
13 |
pypdf==5.1.0
|
14 |
streamlit==1.40.1
|
15 |
-
fuzzywuzzy==0.18.0
|
|
|
|
|
|
|
|
12 |
md2pdf==1.0.1
|
13 |
pypdf==5.1.0
|
14 |
streamlit==1.40.1
|
15 |
+
fuzzywuzzy==0.18.0
|
16 |
+
openai==1.55.3
|
17 |
+
pandas==2.2.3
|
18 |
+
pypdf==5.1.0
|
src/pipelines.py
CHANGED
@@ -102,7 +102,7 @@ class InvoiceGenerator:
|
|
102 |
all_lines[first_cost_line:last_cost_line] = list(map(lambda x: " | ".join(x), cost_lines))
|
103 |
return "\n".join(all_lines)
|
104 |
|
105 |
-
def generate_invoice(self, image_path, output_path=None,
|
106 |
|
107 |
result = {}
|
108 |
|
|
|
102 |
all_lines[first_cost_line:last_cost_line] = list(map(lambda x: " | ".join(x), cost_lines))
|
103 |
return "\n".join(all_lines)
|
104 |
|
105 |
+
def generate_invoice(self, image_path, output_path=None, car_parts=None):
|
106 |
|
107 |
result = {}
|
108 |
|