-
Python version >3.10
-
The API key should be added to the
GOOGLE_API_KEYentry in the.envfile if it exists. If the file doesn't exists, either create the.envfile with the same content as.env_modeland fill theGOOGLE_API_KEYentry with the API key or directly fill the entry in the.env_modelbefore running the app for the first time.
It is recommended to create a Python virtual environment:
python3 -m venv .venv
source .venv/bin/activate # macOS / Linux
# or
.\.venv\Scripts\activate # WindowsThen install dependencies:
pip install -r requirements.txtStart the application with:
python main.pyAfter launching, your browser will open with the app running.
Since the reference text used for evaluating the user’s answer is generated by Gemini, it can be unreliable (especially when using less-common languages).
In an attempt to improve accuracy, this project includes optional support for the DeepL tranlator.
To enable it:
-
Get a DeepL API key: https://www.deepl.com/en/pro-api
-
Add the API key to the
DEEPL_API_KEYfield in your.envfile (or in.env_modelif.envdoes not yet exist) and restart the application if it is running.