User interface for the SUNET transcription service
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Edit the environment settings, should be in a file named
.env
. The following settings should be sufficient for most cases:API_URL = "http://localhost:8000" OIDC_APP_REFRESH_ROUTE = "http://localhost:8000/api/refresh" OIDC_APP_LOGIN_ROUTE = "http://localhost:8000/api/login" OIDC_APP_LOGOUT_ROUTE = "http://localhost:8000/api/logout"
-
Run the application:
python main.py