Spaces:
Runtime error
Runtime error
| import easyocr | |
| import PIL | |
| from PIL import ImageDraw | |
| import streamlit as st | |
| import requests | |
| x = st.slider('Select a value') | |
| st.write(x, 'squared is', x * x) | |
| img = PIL.Image.open("dummy.jpg") | |
| #reader = easyocr.Reader(['en']) | |
| #url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg' | |
| #img = PIL.Image.open("dummy.jpg") | |
| #print(img) | |
| #bound = reader.readtext(img) | |
| #print(bound) | |
| print("fetched image") | |