{"id":13825168,"url":"https://github.com/SadeghKrmi/pertts-streamlit","last_synced_at":"2025-07-08T21:31:26.558Z","repository":{"id":215459650,"uuid":"738987885","full_name":"SadeghKrmi/pertts-streamlit","owner":"SadeghKrmi","description":"Persian text-to-speech streamlit interface","archived":false,"fork":false,"pushed_at":"2024-12-09T20:31:12.000Z","size":114183,"stargazers_count":26,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-09T21:29:45.093Z","etag":null,"topics":["deep-learning","machine-learning","persian-dataset","persian-language","persian-tts","text-to-speech","tts-model","vits"],"latest_commit_sha":null,"homepage":"https://tts.datacula.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SadeghKrmi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-04T14:11:08.000Z","updated_at":"2024-12-09T20:31:23.000Z","dependencies_parsed_at":"2024-03-23T23:42:57.492Z","dependency_job_id":"09cbaec1-f973-4f4b-b4c4-b587fac0803c","html_url":"https://github.com/SadeghKrmi/pertts-streamlit","commit_stats":null,"previous_names":["sadeghkrmi/pertts-streamlit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SadeghKrmi/pertts-streamlit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadeghKrmi%2Fpertts-streamlit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadeghKrmi%2Fpertts-streamlit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadeghKrmi%2Fpertts-streamlit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadeghKrmi%2Fpertts-streamlit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SadeghKrmi","download_url":"https://codeload.github.com/SadeghKrmi/pertts-streamlit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SadeghKrmi%2Fpertts-streamlit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264352699,"owners_count":23594952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","machine-learning","persian-dataset","persian-language","persian-tts","text-to-speech","tts-model","vits"],"created_at":"2024-08-04T09:01:15.782Z","updated_at":"2025-07-08T21:31:26.552Z","avatar_url":"https://github.com/SadeghKrmi.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"## pertts (persian text-to-speech)\nThis is the implementation and a web interface for pertts (Persian text-to-speech)\n\npowered by [piper](https://github.com/rhasspy/piper)\n\nthe live version of persian tts called [pertts](https://tts.datacula.com/)\n\n![image](https://github.com/SadeghKrmi/pertts-streamlit/assets/5988663/9b8c751b-d5e7-42eb-9c7f-2516aed6baa6)\nwith love from datacula.com\n\n\n**Voices**: We are using an AI-based TTS system, trained with \n- amir: Amir Sooakhsh's voice from [rokhpodcast](https://rokhpodcast.ir/), Special thanks to Amir :)\n- ganji: Ahmad Ganji voice\n- gnaji-adabi: Ahmad Ganji voice, poetic version\n\n\n### dataset\nopen-source-dataset[amir]: https://huggingface.co/datasets/SadeghK/datacula-pertts-amir\n\n\n### models\nAll models are available in [HuggingFace](https://huggingface.co/SadeghK/persian-text-to-speech/tree/main/farsi).\n\n\n### 🛠️ Installation\n\n#### docker\nBuild with docker from scratch and run\n```bash\ndocker build --no-cache -t pertts:1.0 .\ndocker container run --name st --rm -it -p 8501:8501 pertts:1.0\n```\n\nRun the latest version of the docker image from docker hub\n```bash\ndocker image pull sadeghk/pertts\ndocker container run --name st --rm -it -p 8501:8501 sadeghk/pertts\n```\n\n#### python\ninstall piper-tts using pip and download the model in pertts-streamlit/model directory\n\n``\npip install piper-tts\n```\nand then run\n```bash\necho 'سلام و درود بر همه فارسی زبانان' | piper \\\n  --model epoch=5261-step=2455712.onnx \\\n  --output_file dorood.wav\n```\n\n#### Windows\ndownload the executables for windows _piper_windows_amd64.zip_ from [piper](https://github.com/rhasspy/piper/releases), and unzip\ngo to the piper directory where piper.exe exists and create a folder with the name models. Download the model for Persian/Farsi from [huggingface](https://huggingface.co/rhasspy/piper-voices/tree/main/fa/fa_IR/amir/medium) with name _fa_IR-amir-medium.onnx_ and _fa_IR-amir-medium.onnx.json_ to models directory.\n\nopen a PowerShell and `cd` to the directory where piper.exe exists, and run\n```bash\necho \"سلام و درود بر شما\" | .\\piper.exe --model .\\models\\fa_IR-amir-medium.onnx --output_dir .\\outputs\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSadeghKrmi%2Fpertts-streamlit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSadeghKrmi%2Fpertts-streamlit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSadeghKrmi%2Fpertts-streamlit/lists"}