honesdev commited on
Commit
8f54669
·
verified ·
1 Parent(s): d6f9c9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ ADAPTER = "honesdev/smolvlm2-500-invoice-extractor-v3"
13
  PROMPT = "Extract the invoice details and return a JSON object only. Return null for any missing fields."
14
 
15
  print("Loading processor...")
16
- processor = AutoProcessor.from_pretrained(ADAPTER)
17
 
18
  print("Loading base model...")
19
  model = AutoModelForImageTextToText.from_pretrained(
 
13
  PROMPT = "Extract the invoice details and return a JSON object only. Return null for any missing fields."
14
 
15
  print("Loading processor...")
16
+ processor = AutoProcessor.from_pretrained(BASE_MODEL)
17
 
18
  print("Loading base model...")
19
  model = AutoModelForImageTextToText.from_pretrained(