{"id":22114945,"url":"https://github.com/iammar7/text-to-talk","last_synced_at":"2025-03-24T05:19:15.724Z","repository":{"id":263291385,"uuid":"789532782","full_name":"iAmmar7/text-to-talk","owner":"iAmmar7","description":"Summarize text and convert it to speech using BART and Bark models.","archived":false,"fork":false,"pushed_at":"2024-11-17T15:24:00.000Z","size":1818,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T11:13:24.311Z","etag":null,"topics":["ai","facebook-bart-api","nlp","summarization","suno-bark","text-to-speech","transfomers"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iAmmar7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-20T20:18:21.000Z","updated_at":"2024-11-17T15:24:48.000Z","dependencies_parsed_at":"2024-11-18T00:48:14.052Z","dependency_job_id":null,"html_url":"https://github.com/iAmmar7/text-to-talk","commit_stats":null,"previous_names":["iammar7/text-to-talk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iAmmar7%2Ftext-to-talk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iAmmar7%2Ftext-to-talk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iAmmar7%2Ftext-to-talk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iAmmar7%2Ftext-to-talk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iAmmar7","download_url":"https://codeload.github.com/iAmmar7/text-to-talk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212311,"owners_count":20578443,"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":["ai","facebook-bart-api","nlp","summarization","suno-bark","text-to-speech","transfomers"],"created_at":"2024-12-01T12:13:17.970Z","updated_at":"2025-03-24T05:19:15.688Z","avatar_url":"https://github.com/iAmmar7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# text-to-talk\n\n**Text-to-Talk** is a FastAPI application providing APIs for text summarization and text-to-speech conversion. It utilizes pre-trained models from Hugging Face's Transformers library using the Facebook's BART and the Suno Bark model for TTS.\n\n## Features\n\n- Summarize text using the BART model.\n- Convert text to speech using the Bark model.\n- Combine text summarization and text-to-speech into one endpoint.\n\n## Installation and Setup\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- **Node.js** (for the client)\n- **Python 3.9+** (for the server)\n- **Git** (for cloning the repository)\n\nFollow these steps to set up and run the application:\n\n### 1. Clone the Repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/iAmmar7/text-to-talk.git\ncd text-to-talk\n```\n\n### 2. Server (Backend)\n\n#### Navigate to the Server Directory\n\n```bash\ncd server\n```\n\n#### Set Up a Virtual Environment\n\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Linux/Mac\nvenv\\Scripts\\activate     # On Windows\n```\n\n#### Install Server Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n#### Run the Server\n\n```bash\nuvicorn app.main:app --reload\n```\n\nThe server will be available at \u003chttp://localhost:8000\u003e\n\n#### Access the API\n\nOnce the application is running, you can access the API documentation at:\n\nSwagger UI: \u003chttp://127.0.0.1:8000/docs\u003e\nReDoc: \u003chttp://127.0.0.1:8000/redoc\u003e\n\n### 3. Client (Frontend)\n\n#### Navigate to the Client Directory\n\n```bash\ncd client\n```\n\n#### Install Client Dependencies\n\n```bash\nnpm install\n```\n\n#### Run the client\n\n```bash\nnpm run dev\n```\n\nThe client will be available at \u003chttp://localhost:5173\u003e.\n\n## Usage\n\n1. Start the backend server first.\n2. Start the frontend client.\n3. Open \u003chttp://localhost:5173\u003e in your browser to interact with the application.\n\n## Sanpshots\n\u003cimg width=\"835\" alt=\"Screenshot 2024-11-17 at 8 23 34 PM\" src=\"https://github.com/user-attachments/assets/55777b67-55f8-4d9f-a03b-a655800aa427\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammar7%2Ftext-to-talk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiammar7%2Ftext-to-talk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammar7%2Ftext-to-talk/lists"}