ammariii08 commited on
Commit
717c9f8
·
verified ·
1 Parent(s): 45ec7b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def process_image(input_image):
109
  # do_sample=False # Greedy decoding
110
  # )
111
 
112
- output = model.generate(
113
  **inputs,
114
  temperature=0.2,
115
  max_new_tokens=1024,
 
109
  # do_sample=False # Greedy decoding
110
  # )
111
 
112
+ output = ocr_model.generate(
113
  **inputs,
114
  temperature=0.2,
115
  max_new_tokens=1024,