ysharma HF staff commited on
Commit
6efa64a
1 Parent(s): 04bb8d9

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ from PIL import Image, ImageFont, ImageDraw
15
  #from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
16
  import matplotlib.pyplot as plt
17
  import keras_ocr
18
- import cv2
 
19
  import math
20
  import numpy as np
21
  import gradio as gr
 
15
  #from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
16
  import matplotlib.pyplot as plt
17
  import keras_ocr
18
+ #import cv2
19
+ from cv2 import INPAINT_NS, inpaint, line, cvtColor, COLOR_BGR2RGB, imwrite
20
  import math
21
  import numpy as np
22
  import gradio as gr