Briefly.ai is a web application that takes a video file, transcribes the audio, summarizes the content, and provides a downloadable PDF of the summary.
The project is a Django application with the following structure:
.
├── .env
├── .gitignore
├── README.md
├── requirements.txt
├── db.sqlite3
├── manage.py
├── media
├── static
├── backend
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── uploader
├── admin.py
├── apps.py
├── convert.py
├── convert_wav.py
├── forms.py
├── models.py
├── templates
│ ├── about.html
│ └── upload.html
└── urls.py
- Python 3.8+
- pip
-
Clone the repository:
git clone https://github.com/cbitosc/HTF24-Team-025.git cd HTF24-Team-025 -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Download the SpaCy model:
python -m spacy download en_core_web_md
-
Create the
.envfile:Create a
.envfile in the project root and add the following environment variables:SECRET_KEY='your-django-secret-key' SPEECH_SUBSCRIPTION_KEY='your-azure-speech-subscription-key' SPEECH_REGION='your-azure-speech-region'You can get the Django secret key from the original
backend/settings.pyfile. The Azure Speech credentials can be obtained from your Azure account. -
Run the database migrations:
python manage.py migrate
To run the Django development server, execute the following command from the project root:
python manage.py runserverThe application will be available at http://127.0.0.1:8000/.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with a descriptive message.
- Push your changes to your fork.
- Create a pull request to the
mainbranch of the original repository.
This project is licensed under the MIT License.