Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Feedback #1

Open
wants to merge 143 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
9da6009
Setting up GitHub Classroom Feedback
github-classroom[bot] May 7, 2024
697606a
add deadline
github-classroom[bot] May 7, 2024
d764ff0
added rematellama
bhandareasmita May 14, 2024
1930c0e
fixed prompt
MasterAirscrachDev May 14, 2024
606d69a
Merge pull request #2 from NM-TAFE/fixed-prompt
20095325 May 14, 2024
c259ac7
updated prompt
MasterAirscrachDev May 14, 2024
53b84a5
further prompt refinement
MasterAirscrachDev May 14, 2024
ed4f062
fixed openai integration
MasterAirscrachDev May 14, 2024
36ee810
feat: project documentation drafts from Cert IV group
Robbo-lab May 20, 2024
e8208bd
chore: remove duplicated license
Robbo-lab May 20, 2024
f1e1601
Update STYLE_GUIDE.md
Robbo-lab May 21, 2024
5ac77d5
Update CODE_OF_CONDUCT.md
Robbo-lab May 21, 2024
9bab514
testing mac and windows
CSMorganDev May 21, 2024
8a7b1e0
Merge remote-tracking branch 'origin/main'
CSMorganDev May 21, 2024
6e8d972
added pre-process function when playing the video.
CSMorganDev May 21, 2024
c13d523
added config to pre-process file
CSMorganDev May 21, 2024
9681429
working video pre processing
MasterAirscrachDev May 21, 2024
77b78d1
better filtering
MasterAirscrachDev May 21, 2024
391690c
Updated Wiki and links
josutcliffe May 27, 2024
7feee20
fix(utils.py): Change subprocess.run shell to false - fixes #5
James-Makela May 27, 2024
677bf03
fix(utils.py): Change subprocess.run remove shell parameter - already…
James-Makela May 27, 2024
f73a8e2
added processing flag to video and added checks
CSMorganDev May 28, 2024
0febf8b
processing doesn't restart
MasterAirscrachDev May 28, 2024
ae5b2c2
Merge pull request #6 from James-Makela/bugfix/open_in_ide
20095325 May 28, 2024
57684c8
Modified player.html
bhandareasmita May 28, 2024
47b93b7
Merge pull request #4 from josutcliffe/wiki-add
20095325 May 28, 2024
2a26fd0
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
bhandareasmita May 28, 2024
f2fbb8e
fixed automatic timestamp update
CSMorganDev May 28, 2024
323ac91
dont add frames twice
MasterAirscrachDev May 28, 2024
36ddd73
test(test_utils): Add test for sending code snippet to IDE.
James-Makela May 29, 2024
d7e0af9
test(test_utils): Clean up imports.
James-Makela May 29, 2024
a0e3e2d
fix(dependencies): Add Flask-SocketIO 5.3.6 to requirement.txt
James-Makela May 29, 2024
f749b5c
Ignore hotkeys in text fields
josutcliffe May 30, 2024
05b50be
added flask_socketio to requirements.txt
CSMorganDev Jun 3, 2024
d8e48ab
Merge remote-tracking branch 'origin/main'
CSMorganDev Jun 3, 2024
3d8eccf
update llama
MasterAirscrachDev Jun 4, 2024
f3db175
use newer llama calls
MasterAirscrachDev Jun 4, 2024
4fb952c
Removed 'Provide OpenAI API Key' from the Welcome menu
Jun 4, 2024
17f0e1c
Merge pull request #16 from LukeyTheFireCube/main
MasterAirscrachDev Jun 4, 2024
cd98306
Fixed test_get_output_path(mocker) in test_utils
Jun 4, 2024
61e3e2c
prompt actually detects code again
MasterAirscrachDev Jun 4, 2024
63c034a
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
MasterAirscrachDev Jun 4, 2024
df829ec
Merge branch 'NM-TAFE:main' into main
LukeyTheFireCube Jun 4, 2024
660c7ab
removed test code from remotellama.py and fixed scaling issue on vide…
CSMorganDev Jun 4, 2024
694f448
Merge remote-tracking branch 'origin/main'
CSMorganDev Jun 4, 2024
006afc2
Create persona.md
bhandareasmita Jun 4, 2024
56e6cbd
updated my journal
CSMorganDev Jun 4, 2024
fc4075d
Merge remote-tracking branch 'origin/main'
CSMorganDev Jun 4, 2024
836e9d7
updated my journal
CSMorganDev Jun 4, 2024
b2e7f04
timestamps can seek
MasterAirscrachDev Jun 4, 2024
dae51db
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
MasterAirscrachDev Jun 4, 2024
072a12c
Merge remote-tracking branch 'origin/main'
CSMorganDev Jun 4, 2024
a1e8c09
Merge pull request #17 from LukeyTheFireCube/main
MasterAirscrachDev Jun 4, 2024
1a62bf3
Merge pull request #11 from James-Makela/fix/pip-requirements
MasterAirscrachDev Jun 4, 2024
385a2cc
fixed wiki
MasterAirscrachDev Jun 4, 2024
8cf5bb1
updated my journal
CSMorganDev Jun 4, 2024
62d485c
Merge pull request #23 from NM-TAFE/fixed-wiki
20095325 Jun 4, 2024
cdc8016
time the processing
MasterAirscrachDev Jun 4, 2024
767a8d5
fixed a misplaced float
MasterAirscrachDev Jun 4, 2024
411ad46
feat: starting to add audio for video data process
Jun 5, 2024
306040e
Merge branch 'main' of https://github.com/LukeyTheFireCube/dip-progra…
Jun 5, 2024
2ea40be
feat: Added feature to navigate through thumbnails and display code s…
bhandareasmita Jun 6, 2024
c831690
Merge pull request #14 from josutcliffe/main
20095325 Jun 6, 2024
7fe848b
hotfixed language clashes
MasterAirscrachDev Jun 7, 2024
1c27dd5
refactored remote Llama
Claire863 Jun 7, 2024
d20970a
fix #28 Refactoring of remotellama
Claire863 Jun 7, 2024
8a6399b
update remote_llama docstring
Claire863 Jun 8, 2024
b873f3d
added requests in Requirements.txt
Claire863 Jun 8, 2024
8328574
Merge pull request #31 from Claire863/fix/updateRequirement.txt
20095325 Jun 8, 2024
4ec3d5a
Merge branch 'NM-TAFE:main' into main
LukeyTheFireCube Jun 9, 2024
4dd10f4
Capture sounds now play
LukeyTheFireCube Jun 9, 2024
fbb5e7a
Added tooltips to player buttons
josutcliffe Jun 9, 2024
fe1c144
Merge branch 'NM-TAFE:main' into fix/refactoringRemotellama
Claire863 Jun 9, 2024
e97ef51
update Llama docstrings
Claire863 Jun 9, 2024
bf2f613
updated Class docstrings
Claire863 Jun 9, 2024
5233abb
modified persona.md
bhandareasmita Jun 10, 2024
bcc0a41
Revert "feat: Added feature to navigate through thumbnails and displa…
bhandareasmita Jun 10, 2024
bb8a025
feat(player.html): group timestamps longer than 5 seconds
sdthinlay Jun 10, 2024
3f4b75b
chore:Updated code display to show the code only when video is paused
bhandareasmita Jun 11, 2024
0c85749
chore(player.html): enhance grouping functionality
sdthinlay Jun 11, 2024
9acd70c
chore(wireframes): add wireframes
sdthinlay Jun 11, 2024
4548b6a
feat(player.html): group timestamps longer than 5 seconds
20095325 Jun 11, 2024
5a20999
fixed conflicts
bhandareasmita Jun 11, 2024
9decf92
git commit -m "feat: Navigate through timestamp"
bhandareasmita Jun 11, 2024
b4a7d27
chore: added persona
20095325 Jun 11, 2024
1ecb6c3
feat: Added feature to navigate through thumbnails and display code s…
20095325 Jun 11, 2024
95120ea
Merge branch 'main' into main
20095325 Jun 11, 2024
f75d819
Fix: Added tooltips to player buttons
20095325 Jun 11, 2024
d5ea1a6
Added journal
bhandareasmita Jun 11, 2024
c8b4611
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
bhandareasmita Jun 11, 2024
8b0bf24
Added journal
bhandareasmita Jun 11, 2024
acdd09a
ready for update
LukeyTheFireCube Jun 11, 2024
2ec3b89
update repo
LukeyTheFireCube Jun 11, 2024
ad2746b
fix: open in ide - Add test case
20095325 Jun 11, 2024
f4197ba
Modify mediaControls to replace <br> tags with new lines
LukeyTheFireCube Jun 11, 2024
e5cfb58
updated my journal week 6
CSMorganDev Jun 11, 2024
3852ae8
Merge remote-tracking branch 'origin/main'
CSMorganDev Jun 11, 2024
f58f965
Merge branch 'NM-TAFE:main' into main
LukeyTheFireCube Jun 12, 2024
d2346a8
Merge branch 'NM-TAFE:main' into fix/refactoringRemotellama
Claire863 Jun 12, 2024
a200a9e
removed header, add post raise error
Claire863 Jun 12, 2024
6d8244a
merge from remote
Claire863 Jun 12, 2024
fdb159b
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
bhandareasmita Jun 13, 2024
8601ae8
feat: add instructions on installing Tesseract OCR
LukeyTheFireCube Jun 13, 2024
aa2d37a
fix: issue #47 - Wikilink Installation Guide. Link to guide from read…
Isaac-Saleh Jun 13, 2024
305050f
fix: issue #47 - Wikilink Installation Guide. Link to guide from read…
Isaac-Saleh Jun 13, 2024
f1a1e7f
Fixed reset button resetting when cancelling action.
josutcliffe Jun 13, 2024
00a6f9f
Corrected reset button action
josutcliffe Jun 13, 2024
e8dde2a
chore: updated wiki link installation guide
20095325 Jun 13, 2024
9bc8449
fix: corrected reset button action
20095325 Jun 13, 2024
4c4bb8e
chore: refactored remote Llama
20095325 Jun 13, 2024
661e24c
remove paths.txt file
LukeyTheFireCube Jun 14, 2024
18493cf
Merge branch 'NM-TAFE:main' into main
LukeyTheFireCube Jun 14, 2024
01f9a3d
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
bhandareasmita Jun 14, 2024
5463a12
update: added the rest of the code of conduct that was written before…
Isaac-Saleh Jun 15, 2024
42d1d44
Removed duplicate key bindings, and added placeholders for existing k…
josutcliffe Jun 16, 2024
4ad100b
fix conflicts
LukeyTheFireCube Jun 16, 2024
03d6a31
add instructions to README.md
LukeyTheFireCube Jun 16, 2024
1e94e42
remove paths file
LukeyTheFireCube Jun 16, 2024
e8d0c4b
fix: open_in_IDE function now replaces <br> tags with new lines
20095325 Jun 16, 2024
fb5ef59
update: added the rest of the code of conduct
20095325 Jun 16, 2024
0bbbf69
Fix: Update key bindings listing
20095325 Jun 16, 2024
c82eb24
fix: add Windows heading for tesseract step
LukeyTheFireCube Jun 16, 2024
5ee33fe
added exception handler
Claire863 Jun 16, 2024
2c79294
Merge branch 'NM-TAFE:main' into fix/llama_raise_for_status
Claire863 Jun 16, 2024
341b29f
Added Tesseract instruction for windows
20095325 Jun 16, 2024
baba1e4
chore: llama raise for status
20095325 Jun 16, 2024
9040bf2
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
bhandareasmita Jun 17, 2024
41e7983
feat: Add hotkeys to navigating through timestamps
bhandareasmita Jun 17, 2024
c97768c
Added journal_ASB.md
bhandareasmita Jun 17, 2024
b1e7299
Merge remote-tracking branch 'origin/main' into hotkeys-navigate-time…
bhandareasmita Jun 18, 2024
ab1144c
Merge remote-tracking branch 'origin/main' into hotkeys-navigate-time…
bhandareasmita Jun 18, 2024
4fbf8a5
fix: llama prompt fix
sdthinlay Jun 18, 2024
72d77da
fix: llama prompt fix
20095325 Jun 18, 2024
18f74e3
Feat: Hotkeys navigate timestamps
20095325 Jun 18, 2024
be29bb0
fixed audio
MasterAirscrachDev Jun 18, 2024
3a41127
Merge branch 'main' of https://github.com/NM-TAFE/dip-programming-prj…
bhandareasmita Jun 18, 2024
b001a62
feat: Audio cue plays when code is detected
20095325 Jun 18, 2024
2572be8
fix: delete video file
CSMorganDev Jun 18, 2024
c4cd5c9
Fix: delete video file when delete button is clicked
20095325 Jun 18, 2024
8c30319
chore: redesign wireframes as per feedback
sdthinlay Jun 18, 2024
5cad3d0
chore: redesign wireframes as per feedback
20095325 Jun 18, 2024
a52e115
chore: modify persona.md as per guidelines
bhandareasmita Jun 18, 2024
d951d93
Modified persona.md as per feedback
20095325 Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,11 @@ cython_debug/
__pycache__
config.ini
app.log
userdata.json
videos
userdata.json
img
out
out
.vscode/settings.json
run.bat
app/temp.png
.DS_Store
109 changes: 109 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Code of Conduct

## v1 - Drafted by Izaac Saleh & Sukhwan Ko

## Our Pledge

---

As Members of this developer community, as both leaders and contributors, we pledge to
respect all people who contribute through reporting issues, posting feature requests,updating documentation,
submitting pull requests, and other activities.

We aim to make participation a harassment free experience. Discrimination towards, but not limited to: age, body size,
visible or invisible disability, ethnicity, gender identity and expression, level of
experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and
orientation will not be tolerated.

We will act and interact only in ways that promote welcoming, diverse, inclusive and healthy community interactions.

## Our Standards

---

Examples of unacceptable behaviour by participants include but are not limited to:

- Derogatory comments towards others contributions
- Personal attacks
- Public or private harassment
- Publishing others private information such as electronic or physical addresses.
- Any other conduct that could be reasonably considered inappropriate in a professional setting.
- Discrimination with regard to _any_ of the criteria mentioned in our **Pledge**

Examples of positive behaviour that contributes to the community:

- Willingness to help others and answer questions
- Respecting differing opinions and viewpoints that are born of varying experiences.
- The handling of constructive feedback in a graceful manner be it giving or receiving.
- Accepting responsibility and accountability for our mistakes, especially when they affect others work and learning
- from the experience.
- A focus on the betterment of the community over the individual needs.

## Maintainer Responsibilities

---

Our Community Leaders are responsible for clarifying and enforcing the standards of
acceptable behviour and are expected to lead by example. If a breach of the Code of Conduct is found to have occured the
Community Leaders are charged with taking appropriate but fair corrective action.

Community Leaders have the responsibility, and maintain the right, to remove, edit, or reject comments, commits, code,
issues, and other contributions that are not in alignment with this Code of Conduct and will communicate the reasons for
any moderations they deem appropriate.

## Scope

---

- Our online platform (website, forum, chatroom etc.)
- Code repository (including comments, pull requests, issue reports etc.)
- Project-related communication channels such as:
- Email
- Slack
- Microsoft Teams
- Discord
- Asana
- etc.
- In-person events(Conferences, meetups etc.)


## Enforcement

---

Community leaders will take action to address violations of the Code of Conduct. The specific consequences will depend on the severity of the violation.


## Enforcement Guidelines

---

1. Correction

- **Community Impact:** Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

- **Consequence:** A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

2. Warning

- **Community Impact:** A violation through a single incident or series of actions.

- **Consequence:** A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

3. Temporary Ban

- **Community Impact:** A serious violation of community standards, including sustained inappropriate behavior.

- **Consequence:** A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

4. Permanent Ban

- **Community Impact:** Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

- **Consequence:** A permanent ban from any sort of public interaction within the community.

## Attribution

This Code of Conduct is adapted from the GITHUB documents template for "code of conduct" found when adding a file of the
name to your repo. For steps on accessing this template please see the link below.
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project
56 changes: 56 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# CONTRIBUTING

## v1 - Drafted by Tadiwanashe Gukwa & Lucas Fadersen

Participation in the agile development of this project, including modification, testing, and editing, is only accessible to NM-TAFE students who have received a link to this repository via their outlook email.

## ENFORCEMENT GUIDELINES

---

The is Zero tolerance to plagiarism, make sure that the code you contribute is your own work.
N.B While working on this project the NM-TAFE code of conduct still applies.

## CONTRIBUTION

---

### Project set up

1. Fork the repo to your local device
2. Follow the steps on this link to set up the project \***\*link\*\***

## ISSUES

---

1. Identify a Bug: When you Identify a bug during the debugging process, and you intend to fix it you create an issue on GitHub.
2. Add a description and comment: Make sure that the description of the issue is clear with the issue number and add a comment describing the issue. The issue is reserved for the maker unless open-to-all tag is added.
3. Add a tag/label to the issue for example bug, enhancement, help wanted, priority: high, priority: low
4. Add the ready-for-work tag to an open issue when prepared to start working on it. This lets other programmers know that someone is working on the issue in their local IDE. By doing so, collisions are avoided.
5. Create a Branch: Before you start fixing the issue in your local IDE open your terminal, create a new branch using this command git check out -b <issue number>.
6. Fix the issue - create a test. When your test passes push the changes
7. Create a pull request: Create a pull request and associate it with the issue number on the pull request description for example if the issue is issue # 1 the pull request description will include Fixes #1 in the description so that when you merge changes the issue closes automatically.
8. Code Review - The project maintainers will review the code. Once approved changes will be merged into the main branch
9. Closing Issue - The issue is closed automatically by GitHub if step 3 was followed correctly

## CODE ENHANCEMENT

---

New ideas can be suggested and discussed on our the Team Discussion Board or Teams Chats first before implementing changes. **_channel link_**

## LICENCE

---

This project is licensed under the [Creative Commons Zero v1.0 Universal](LICENSE) license.

## CODING STYLE

---

Before contributing check this link for the style guide for this project which includes Code lay-out, Comments, Docstrings and naming conversions

- Project STYLE_GUIDE.md (\***\*link\*\***)
- PEP 8 – Style Guide for Python Code | peps.python.org
86 changes: 86 additions & 0 deletions Contribution-Guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Contributor's Guide

Welcome to our project! We appreciate your interest in contributing. Below is a comprehensive guide to help you navigate the contribution process smoothly.

## 1. Fork the Main Repository to Your Personal Account:
- If you have already forked the repository, you can skip this step. Forking creates a personal copy where you can make changes without affecting the original codebase.

## 2. Keep Your Fork Synchronized with the Main Repository:
- Regularly sync your forked with the main repository to avoid conflicts. This ensures that your pull request is based on the latest code.

## 3. Clone or Pull Updates to Your Local Machine:
- Clone your fork onto your local machine to work on the project.
- If you don't have a local copy:

```bash
git clone https://github.com/NM-TAFE/dip-programming-prj-advanced-gui-awesome.git

```
- If you have a local copy, pull the latest updates:

```bash
git pull

```

## 4. Create a New Branch for Your Task:
- Create a branch for your feature or fix, naming it appropriately.

```bash
git branch feature/my-feature

```
- Then switch to the new branch you created

```bash
git switch feature/my-feature

```

## 5. Write Your Code:
- Contribute by writing a clean, efficient, and well-documented code.
- If implementing a new feature, create unit test for your functions.

## 6. Commit Your Work Locally with Descriptive Messages:
- Commit changes with meaningful messages summarizing your work. Reference the related issue in your commit messages.
- First stage all your changed files for commit

```bash
git add .
```

-Then commit staged files to your local branch

```bash
git commit -m "feature: implemented my new feature. solves #123"
```

## 7. Push your Changes to Your Fork:
- Push your changes to your fork on GitHub for review.

```bash
git push -u origin feature/my-feature

```
## 8. Create a Pull Request (PR) to the Main Repository:
- Submit a pull request to the main repository. This is your formal contribution request.

## 9. Await Review and Address Feedback:
- Project maintainers will review your PR. Please be patient and address any requested changes promptly.

## 10. Testing and Clean-Up:
- After PR approval, test changes in the main repository.
- Clean up branches that are merged and no longer needed.

```bash
git branch -d feature/my-feature

```
**Note:** Manually update configuration variables in your [configuration variables](./installation.md) file if necessary.

By adhering to these contribution guidelines, you contribute to a seamless process for everyone involved in the project! Thank you for your valuable input.





19 changes: 19 additions & 0 deletions Home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Welcome to the OcrRoo Wiki!

Welcome to the OcrRoo wiki. I have created this wiki to serve as a knowledge base for our project. If you have any suggestions or information you would like added to this wiki don't hesitate to let me know.

### New Features, Bugs, Issues, and Enhancements

If you have found any issues or bugs in the code or you have feature ideas, please create an [issue](https://github.com/NM-TAFE/dip-programming-prj-advanced-gui-awesome/issues) on this project. Label it appropriately with feature, bug, enhancement, etc.. You can leave it unassigned if you do not wish to close the issue, however please note if issues are left unassigned for too long they will be assigned to a developer.

### Installing the Project

Please follow the [Installation Guide](https://github.com/NM-TAFE/dip-project-ocrroo/wiki/Installation-Guide) to install and run this project.

### Contributing to the Project

Please follow the [Contribution Guide](https://github.com/NM-TAFE/dip-project-ocrroo/wiki/Contribution-Guide) when contributing to this project.

### Style Guide

Please adhere to the [Style Guide](https://github.com/NM-TAFE/dip-project-ocrroo/wiki/Style-Guide) when contributing to this project.
86 changes: 86 additions & 0 deletions Installation-Guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Project Installation Guide

This guide provides detailed steps and installing the project on your local machine.

## 1. Clone Project Repository

Clone the main repository to your local machine.If you intend to contribute to the development, clone from your fork of the repository.

```bash

git clone https://github.com/NM-TAFE/dip-programming-prj-advanced-gui-awesome.git

```

## 2. Navigate to Project Directory

Change into the project directory.

```bash

cd dip-programming-prj-advanced-gui-awesome.git

```

## 3. Install Dependencies

Install the project dependencies using the following command.

```bash

pip install -r requirements.txt

```

## 4. Navigate to App Directory

Change into app directory.

```bash
cd app/

```

## 5. (Optional) Configure Application

Copy the `config.example.ini` file and add your relevant configuration variables.Unlike previous versions of OcrRoo, you no longer need to manually create the `config.ini` file;it will generate itself if not present when the server runs.

Using `copy`:

```bash
copy config.example.ini config.ini

```

Or using `cp`:

```bash
cp config.example.ini config.ini

```

## 6. Run the Application

To run the application with silenced debug/logging output, execute the following command. Debug and logging outputs will be saved to an `app.log` file

```bash
python app.py

```

To run the application with debug/logging output in the console, use the following command.This is recommended for development as it automatically reloads the app when changes are detected.

```bash
flask run --debug

```

## Configuration Variables

To use the project, add the following configuration variables to your `config.ini` file:

- `openai_api_key`: API key for OpenAI
- `tesseract_executable`: Path to Tesseract OCR executable
- `ide_executable`: Path to preferred IDE executable

In the current version of the project, this manual configuration is necessary.However, future builds will allow you to perform this configuration from the user interface (UI).
Loading
Loading