qq1023 commited on
Commit
fa465f3
1 Parent(s): 6d9df31

Update categories/random_/model.py

Browse files
Files changed (1) hide show
  1. categories/random_/model.py +2 -1
categories/random_/model.py CHANGED
@@ -57,7 +57,8 @@ class UIDDict(BaseModel):
57
 
58
 
59
  class InformationExtractedFromABillReceipt(BaseModel):
60
- uids: UIDDict = Field(..., title="Invoice number and other 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(