ITSAIDI
commited on
Commit
·
2680f1d
1
Parent(s):
22a7ef9
sd
Browse files- utilitis.py +1 -2
utilitis.py
CHANGED
@@ -104,8 +104,7 @@ def Get_Json(true_predictions,words):
|
|
104 |
i = 0
|
105 |
for prd in true_predictions:
|
106 |
if prd in ['InvNum','Fourni', 'InvDate','TT','TTC','TVA']:
|
107 |
-
|
108 |
-
print(i)
|
109 |
Results[prd] = words[i-1]
|
110 |
i+=1
|
111 |
key_mapping = {'InvNum':'Numéro de facture','Fourni':'Fournisseur', 'InvDate':'Date Facture','TT':'Total HT','TTC':'Total TTC','TVA':'TVA'}
|
|
|
104 |
i = 0
|
105 |
for prd in true_predictions:
|
106 |
if prd in ['InvNum','Fourni', 'InvDate','TT','TTC','TVA']:
|
107 |
+
print(i,prd,words[i-1])
|
|
|
108 |
Results[prd] = words[i-1]
|
109 |
i+=1
|
110 |
key_mapping = {'InvNum':'Numéro de facture','Fourni':'Fournisseur', 'InvDate':'Date Facture','TT':'Total HT','TTC':'Total TTC','TVA':'TVA'}
|