Sign inSign up

kavehbc/divan-hafez

By kavehbc

Updated about 1 year ago

Divan-e Hafez with Interpretations and Vocal Audio Files

Image
0

10K+

kavehbc/divan-hafez repository overview

Divan-e Hafez

This is a Diven-e Hafez with Fall-e Hafez developed by Python using Streamlit. The poems come with interpretations and vocal audios.

Database

The poems of Divan Hafez are extracted from an open-source database as below:

Source: https://github.com/mahmoud-eskandari/HafezFaalDatabase

Vocal Audios

The vocal audio files are done by Ms. Modares Zadeh, and it is available below:

Source: https://avayemastan.deklame.net/hafez/

You can run download_mp3.py using Streamlit to download all audio files.

Demo

You can access the demo version deployed on Streamlit server at:

https://share.streamlit.io/kavehbc/divan-hafez/app.py

Run

In order to run this tool, you must have Streamlit installed on your machine/environment:

streamlit run app.py

Run on Docker

This application is available on Docker Hub, and it can be run directly using:

docker run -p 80:8501 kavehbc/divan-hafez

Once you run it, you can open it in your browser on http://127.0.0.1.

Apple M1 Silicon - Arm64

As of today (30 May 2021), this Docker Image is not compatible with Apple M1 Silicon. Instead, the source code can be run using conda on Rosetta 2.

Github Repo

This project is open-source, and it is available on Github at https://github.com/kavehbc/divan-hafez.

Usage Tracking

User Hits/Views

The app usage is tracked using statcounter.com, and it does not contain any personal information. The file containing the script is located at injection\statcounter.html.

Injection functions are managed inside libs\injection.py.

Developer(s)

Kaveh Bakhtiyari - Website | Medium | LinkedIn | Github

Contribution

Feel free to join the open-source community and contribute to this repository.

Tag summary

Content type

Image

Digest

sha256:4303962d6

Size

1.4 GB

Last updated

about 1 year ago

docker pull kavehbc/divan-hafez