Commit History

-- Dynamically set model directory based on the environment (HuggingFace / Docker).
c2b0312

frkhan commited on

-- Switched back to Gradio sdk for HF deployment since HF Spaces does not allow to create folder under /app folder
2762678

frkhan commited on

-- Changed the deployment stack to docker for HF.
f991bc7

frkhan commited on

-- Included Github Rep, Story Link, Tech Stack Badges in the UI
a2f903f

frkhan commited on

Switched back to Gradio SDK for HF SPaces deployment.
6893f63

frkhan commited on

Merge branch 'main' of https://github.com/KI-IAN/python-ocr-webapp
928b1c6

frkhan commited on

Switched back to Gradio sdk since HF does not permit to create a file in it's container.
d89a7b0

frkhan commited on

Testing docker sdk to deploy in Hugging Face Spaces.
3a25321
unverified

frkhan commited on

Merge branch 'main' of https://github.com/KI-IAN/python-ocr-webapp
d5c4f4c

frkhan commited on

Last attempt: using /tmp folder.
18ec9ef

frkhan commited on

Using Gradio SDK to deploy in HF Spaces.
4c46a01
unverified

frkhan commited on

Changed the path to /app/models
b0f3709

frkhan commited on

Changed the model location to /tmp/.EasyOCR
246e05a

frkhan commited on

Using Path.home() which should be the /root folder in Linux.
991e6fc

frkhan commited on

Added the URL of the demo site.
5dff50e

frkhan commited on

Merge branch 'main' of https://github.com/KI-IAN/python-ocr-webapp
6be18e7

frkhan commited on

EasyOCR tries to write its model files to the root directorywhich is nto writable inside most Docker containers - especially on Huggin Face Spaces. So we explicitly set EasyOCR's model_storage_directory to a relative path inside the project directory.
a83e7e9

frkhan commited on

Used docker to build and deploy the app in Hugging Face Space.
9f35a6a
unverified

frkhan commited on

Merge branch 'main' of https://github.com/KI-IAN/python-ocr-webapp
7dd9e93

frkhan commited on

Added the Configuration Header so that Hugging Face can tell Spaces how to run this app.
b7f2da4

frkhan commited on

Workflow will be triggered on main branch now.
31e3eda
unverified

frkhan commited on

Create sync-to-hf action to push the commits from github repo to hugging face space repo.
594c267
unverified

frkhan commited on

Create LICENSE
1b27667
unverified

frkhan commited on

Added a proper README.md file.
8f7ab55

frkhan commited on

Enabled English (en) with Bangla (bn) script.
94b52d2

frkhan commited on

server_name="0.0.0.0" makes Gradio listen on all network interfaces (inside the Docker container).
f726c26

frkhan commited on

Commented out the volumes mount section.
c046010

frkhan commited on

Using correct pytorch docker image.
f4145e7

frkhan commited on

Used pytorch official image to build docker container.
259884f

frkhan commited on

Using python:3.10 image that should include gcc by default.
f96178e

frkhan commited on

Using full python-3.10 image.
77eed5d

frkhan commited on

Install torch first using the official PyTorch repo for CPU
5fc2f5f

frkhan commited on

Using full python image.
fc4e2cb

frkhan commited on

Removed few pip installation parameters
961d111

frkhan commited on

Added additional depencies in dockerfile.
03e17a1

frkhan commited on

Renamed the Dockerfile
5319317

frkhan commited on

Added the docker-compose file.
3e7f2eb

frkhan commited on

Showing time taken to extract the text.
ddd0022

frkhan commited on

A gradio app to convert image into text using easyocr.
ba64edd

frkhan commited on