Git Product home page Git Product logo

htrflow_app's Introduction

htrflow_app: A demo app for htrflow

We're thrilled to introduce htrflow, our demonstration platform that brings to life the process of transcribing Swedish handwritten documents from the 17th to the 19th century.

HTRFLOW Image

htrflow_app is designed to provide users with a step-by-step visualization of the HTR-process, and offer non-expert users an inside look into the workings of an AI-transcription pipeline. At the moment htrflow_app is mainly a demo-application. It’s not intended for production, but instead to showcase the immense possibilities that HTR-technology is opening up for cultural heritage institutions around the world.

All code is open-source, all our models are on Hugging Face and are free to use, and all data will be made available for download and use on Hugging Face as well.

Note that the backend (src) for the app will be rewritten and packaged to be more optimized under the project name htrflow_core.

Run app

Use virtual env.

python3 -m venv .venv
source .venv/bin/activate

Install libraries with Makefile:

make install

With pip:

pip install -r requirements.txt

Run app with:

gradio app.py

Run with Docker

There are two options:

Run with Docker locally

Build container:

docker build --tag htrflow/htrflow-app .

Run container:

docker run -it -d --name htrflow-app -p 7000:7860  htrflow/htrflow-app:latest

Run with Docker with HF

You can also just run it from Hugging Face:

docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all \
	-e registry.hf.space/riksarkivet-htr-demo:latest

htrflow_app's People

Contributors

borg93 avatar pjmartin avatar sneriko avatar eivtho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.