Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from deepdoctection import Image
|
|
7 |
import gradio as gr
|
8 |
|
9 |
|
10 |
-
def analyze_image(img, with_ocr
|
11 |
# creating an image object and passing to the analyzer by using dataflows
|
12 |
image = Image(file_name="input.png", location="")
|
13 |
image.image = img[:,:,::-1]
|
|
|
7 |
import gradio as gr
|
8 |
|
9 |
|
10 |
+
def analyze_image(img, with_ocr):
|
11 |
# creating an image object and passing to the analyzer by using dataflows
|
12 |
image = Image(file_name="input.png", location="")
|
13 |
image.image = img[:,:,::-1]
|