Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ model = model.eval().cuda()
|
|
10 |
|
11 |
@spaces.GPU
|
12 |
def run_GOT(image_array, got_mode, ocr_box="", ocr_color=""):
|
|
|
13 |
# image = Image.fromarray(np.uint8(image_array))
|
14 |
image = image_array
|
15 |
if got_mode == "plain texts OCR":
|
|
|
10 |
|
11 |
@spaces.GPU
|
12 |
def run_GOT(image_array, got_mode, ocr_box="", ocr_color=""):
|
13 |
+
print("image_array: ", image_array)
|
14 |
# image = Image.fromarray(np.uint8(image_array))
|
15 |
image = image_array
|
16 |
if got_mode == "plain texts OCR":
|