Spaces:
Sleeping
Sleeping
Update categories/random_/model.py
Browse files
categories/random_/model.py
CHANGED
@@ -57,7 +57,8 @@ class UIDDict(BaseModel):
|
|
57 |
|
58 |
|
59 |
class InformationExtractedFromABillReceipt(BaseModel):
|
60 |
-
uids:
|
|
|
61 |
total: float = Field(..., title="Total amount or price")
|
62 |
tax: Union[TaxItem, TaxItem1] = Field(..., title="The total tax amount")
|
63 |
name: str = Field(
|
|
|
57 |
|
58 |
|
59 |
class InformationExtractedFromABillReceipt(BaseModel):
|
60 |
+
uids: str = Field(..., title="The bill number/invoice number")
|
61 |
+
#uids: UIDDict = Field(..., title="Invoice number and other UIDs")
|
62 |
total: float = Field(..., title="Total amount or price")
|
63 |
tax: Union[TaxItem, TaxItem1] = Field(..., title="The total tax amount")
|
64 |
name: str = Field(
|