Compare commits
3 Commits
d723b051c6
...
e7dbc443aa
Author | SHA1 | Date |
---|---|---|
Falko Victor Habel | e7dbc443aa | |
Falko Victor Habel | 9a627df31b | |
Falko Victor Habel | f0298a4391 |
13
README.md
13
README.md
|
@ -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
|
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.
|
1. Clone the repository or download the project files from:
|
||||||
|
`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. 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
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ 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... (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)
|
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