Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -21,8 +21,8 @@ from PIL import Image, ImageFont, ImageDraw
|
|
21 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
22 |
import matplotlib.pyplot as plt
|
23 |
import keras_ocr
|
24 |
-
|
25 |
-
from cv2 import INPAINT_NS, inpaint, line, cvtColor, COLOR_BGR2RGB, imwrite
|
26 |
import math
|
27 |
import numpy as np
|
28 |
import gradio as gr
|
|
|
21 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
22 |
import matplotlib.pyplot as plt
|
23 |
import keras_ocr
|
24 |
+
import cv2
|
25 |
+
#from cv2 import INPAINT_NS, inpaint, line, cvtColor, COLOR_BGR2RGB, imwrite
|
26 |
import math
|
27 |
import numpy as np
|
28 |
import gradio as gr
|