Compare commits
No commits in common. "e7dbc443aa473966b10f0a78a7486d80138cff14" and "d723b051c65c04e382b146f8a221807fbd60c7e6" have entirely different histories.
e7dbc443aa
...
d723b051c6
13
README.md
13
README.md
|
@ -14,22 +14,13 @@ 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
|
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
|
## Installation
|
||||||
1. Clone the repository or download the project files from:
|
1. Clone the repository or download the project files.
|
||||||
`https://gitea.fabelous.app/fabel/Fabelous-Ai-Chat`
|
|
||||||
2. Install required dependencies by running:
|
2. Install required dependencies by running:
|
||||||
```bash
|
```bash
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
3. To run this project properly, you will need to ensure that the Python 3 and Tkinter libraries arei nstalled.
|
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.
|
||||||
|
|
||||||
- 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
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ def main():
|
||||||
gui.mainloop()
|
gui.mainloop()
|
||||||
except TypeError:
|
except TypeError:
|
||||||
sys.exit("The config file seems to be corrupted, please run: 'python project.py --config'")
|
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")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ class ChatGUI(CTk.CTk):
|
||||||
self.grid_rowconfigure(1, weight=1)
|
self.grid_rowconfigure(1, weight=1)
|
||||||
|
|
||||||
# File Loader Entry
|
# File Loader Entry
|
||||||
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 = CTk.CTkEntry(self, placeholder_text="Enter Filepath or press Load File... (Only .md, pdf, csv, html, and json files are supported)")
|
||||||
self.file_entry.grid(row=0, column=0, sticky="ew", padx=10, pady=(10, 0), columnspan=2)
|
self.file_entry.grid(row=0, column=0, sticky="ew", padx=10, pady=(10, 0), columnspan=2)
|
||||||
# Load File Button
|
# Load File Button
|
||||||
load_file_btn = CTk.CTkButton(self, text="Load File", command=self.select_file)
|
load_file_btn = CTk.CTkButton(self, text="Load File", command=self.select_file)
|
||||||
|
|
Loading…
Reference in New Issue