Tonic commited on
Commit
acefffe
Β·
unverified Β·
1 Parent(s): 9cf89ef

add image editor

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -38,10 +38,6 @@ def image_to_base64(image):
38
  return base64.b64encode(buffered.getvalue()).decode()
39
 
40
 
41
-
42
- @spaces.GPU()
43
- import cv2
44
-
45
  @spaces.GPU()
46
  def process_image(image, task, ocr_type=None, ocr_box=None, ocr_color=None):
47
  if image is None:
 
38
  return base64.b64encode(buffered.getvalue()).decode()
39
 
40
 
 
 
 
 
41
  @spaces.GPU()
42
  def process_image(image, task, ocr_type=None, ocr_box=None, ocr_color=None):
43
  if image is None: