CoolFace
Apppublic

frkhan/bangla-ocr

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
40 commits on main
c50eb975mo ago

Using docker to build the app instead of gradio in Huggingface spaces.

frkhan
c2b03121y ago

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

frkhan
27626781y ago

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

frkhan
f991bc71y ago

-- Changed the deployment stack to docker for HF.

frkhan
a2f903f1y ago

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

frkhan
6893f631y ago

Switched back to Gradio SDK for HF SPaces deployment.

frkhan
928b1c61y ago

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

frkhan
d89a7b01y ago

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

frkhan
3a253211y ago

Testing docker sdk to deploy in Hugging Face Spaces.

frkhan
d5c4f4c1y ago

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

frkhan
18ec9ef1y ago

Last attempt: using /tmp folder.

frkhan
4c46a011y ago

Using Gradio SDK to deploy in HF Spaces.

frkhan
b0f37091y ago

Changed the path to /app/models

frkhan
246e05a1y ago

Changed the model location to /tmp/.EasyOCR

frkhan
991e6fc1y ago

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

frkhan
5dff50e1y ago

Added the URL of the demo site.

frkhan
6be18e71y ago

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

frkhan
a83e7e91y ago

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.

frkhan
9f35a6a1y ago

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

frkhan
7dd9e931y ago

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

frkhan
b7f2da41y ago

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

frkhan
31e3eda1y ago

Workflow will be triggered on main branch now.

frkhan
594c2671y ago

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

frkhan
1b276671y ago

Create LICENSE

frkhan
8f7ab551y ago

Added a proper README.md file.

frkhan
94b52d21y ago

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

frkhan
f726c261y ago

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

frkhan
c0460101y ago

Commented out the volumes mount section.

frkhan
f4145e71y ago

Using correct pytorch docker image.

frkhan
259884f1y ago

Used pytorch official image to build docker container.

frkhan
f96178e1y ago

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

frkhan
77eed5d1y ago

Using full python-3.10 image.

frkhan
5fc2f5f1y ago

Install torch first using the official PyTorch repo for CPU

frkhan
fc4e2cb1y ago

Using full python image.

frkhan
961d1111y ago

Removed few pip installation parameters

frkhan
03e17a11y ago

Added additional depencies in dockerfile.

frkhan
53193171y ago

Renamed the Dockerfile

frkhan
3e7f2eb1y ago

Added the docker-compose file.

frkhan
ddd00221y ago

Showing time taken to extract the text.

frkhan
ba64edd1y ago

A gradio app to convert image into text using easyocr.

frkhan