priyank-m commited on
Commit
e860bc7
1 Parent(s): e226b84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def run_ocr(image):
17
  generated_ids = model.generate(pixel_values, max_new_tokens=50)
18
  generated_text = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
19
  return generated_text
20
-
21
 
22
  demo = gr.Interface(fn=run_ocr, inputs="image", outputs="text", title=title, description=description, examples=examples)
23
  demo.launch()
 
17
  generated_ids = model.generate(pixel_values, max_new_tokens=50)
18
  generated_text = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
19
  return generated_text
20
+
21
 
22
  demo = gr.Interface(fn=run_ocr, inputs="image", outputs="text", title=title, description=description, examples=examples)
23
  demo.launch()