D.A.R.T.H is a powerful streamlit application designed to assist developers in enhancing their coding experience. With a focus on providing valuable resources and aiding in various aspects of coding, D.A.R.T.H offers four key functions to make developers' lives easier.
# D.A.R.T.H - Digital Assistant for Resourceful Technical Help
D.A.R.T.H is a powerful streamlit application designed to assist developers in enhancing their coding experience. With a focus on providing valuable resources and aiding in various aspects of coding, D.A.R.T.H offers four key functions to make developers' lives easier.
## Features
1. **Article Generation:**
- D.A.R.T.H can generate articles in English, Yoruba, Igbo, and Hausa. The English version is also synthesized into speech, providing an accessible way to consume information.
2. **Code Documentation Generator:**
- Simplify the process of creating code documentation. Insert your code, and D.A.R.T.H will generate comprehensive documentation for you.
3. **Code Bug Detection and Correction:**
- Identify and fix bugs in your code effortlessly. By submitting your code to D.A.R.T.H, it analyzes the content, pinpoints errors, and provides automated fixes.
4. **Document Assistant:**
- Upload a document, and D.A.R.T.H becomes your knowledgeable assistant. Ask questions about the document, and receive detailed answers in English. The responses are also synthesized into speech for a convenient listening experience.
## Getting Started
Follow the instructions below to get started with D.A.R.T.H:
### Prerequisites
- Python installed
- Streamlit library installed (you can install it using `pip install streamlit`)
- OPENAI and AZURE API keys
### Installation
1. Clone the repository.
2. Navigate to the project directory.
3. Install the required dependencies.
```bash
pip install -r requirements.txt
```
## D.A.R.T.H Streamlit App
The `app.py` file contains a Streamlit app for interacting with various functions of the D.A.R.T.H system. Here's how you can use the Streamlit app:
### Usage
1. **Generate Article and Synthesize Speech:**
- Enter text for article generation.
- Select the translation language (English, Yoruba, Igbo, Hausa).
- Click "Generate and Translate" to generate and translate the article. …