Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import numpy as np #Image Processing
|
|
4 |
import gradio as gr
|
5 |
|
6 |
|
7 |
-
input = gr.inputs.Image(label="Upload your Image", type=
|
8 |
|
9 |
def load_model():
|
10 |
reader = ocr.Reader(['en'],model_storage_directory='.')
|
|
|
4 |
import gradio as gr
|
5 |
|
6 |
|
7 |
+
input = gr.inputs.Image(label="Upload your Image", type= 'pil', optional=True)
|
8 |
|
9 |
def load_model():
|
10 |
reader = ocr.Reader(['en'],model_storage_directory='.')
|