Spaces:
Runtime error
Runtime error
kpkishankrishna commited on
Commit ·
e4e3c5c
1
Parent(s): 24d0819
import ast
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import PIL
|
|
| 3 |
from PIL import Image
|
| 4 |
from PIL import ImageDraw
|
| 5 |
from PIL import ImageFont
|
|
|
|
| 6 |
def predict(image, text,x_cor, y_cor, font_size, font_color, align, line_spacing):
|
| 7 |
# img = Image.open('/content/bean_youtube_exam.JPG')
|
| 8 |
img = Image.fromarray(image)
|
|
|
|
| 3 |
from PIL import Image
|
| 4 |
from PIL import ImageDraw
|
| 5 |
from PIL import ImageFont
|
| 6 |
+
import ast
|
| 7 |
def predict(image, text,x_cor, y_cor, font_size, font_color, align, line_spacing):
|
| 8 |
# img = Image.open('/content/bean_youtube_exam.JPG')
|
| 9 |
img = Image.fromarray(image)
|