Spaces:
Runtime error
Runtime error
update app.py
Browse files
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
|