Compare commits

..

3 Commits

3 changed files with 13 additions and 3 deletions

View File

@ -14,13 +14,22 @@ This is my Final Project for CS50P. A implementation of a RAG System using Chrom
5. Code Highlighting: Either highlighted in red within the `terminal` or displayed in a separate widget using the `GUI`, this improves the readability and understanding of code snippets
## Installation
1. Clone the repository or download the project files.
1. Clone the repository or download the project files from:
`https://gitea.fabelous.app/fabel/Fabelous-Ai-Chat`
2. Install required dependencies by running:
```bash
pip install -r requirements.txt
```
3. If you have installed Python 3 via Homebrew on MacOS you are required to use `brew install python-tk` in order to run this project properly.
3. To run this project properly, you will need to ensure that the Python 3 and Tkinter libraries arei nstalled.
- For MacOS users who have installed Python 3 via Homebrew, use the following command in your terminal:
```bash
brew install python-tk
```
- For Linux users, execute the following command in your terminal:
```bash
apt-get install python3-tk
```
## Configuration

View File

@ -37,6 +37,7 @@ def main():
gui.mainloop()
except TypeError:
sys.exit("The config file seems to be corrupted, please run: 'python project.py --config'")
sys.exit("No Config available. please run: 'python project.py --config' to set it up")

View File

@ -84,7 +84,7 @@ class ChatGUI(CTk.CTk):
self.grid_rowconfigure(1, weight=1)
# File Loader Entry
self.file_entry = CTk.CTkEntry(self, placeholder_text="Enter Filepath or press Load File... (Only .md, pdf, csv, html, and json files are supported)")
self.file_entry = CTk.CTkEntry(self, placeholder_text="Enter Filepath or press Load File to provide extra context... (check README for more details)")
self.file_entry.grid(row=0, column=0, sticky="ew", padx=10, pady=(10, 0), columnspan=2)
# Load File Button
load_file_btn = CTk.CTkButton(self, text="Load File", command=self.select_file)