-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
43 lines (31 loc) · 1.66 KB
/
config.py
File metadata and controls
43 lines (31 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Various settings are listed here for quick access.
# Variables prone to external change (e.g. neurokõne voice names) used throughout are be listed here.
# Some variables have historically accurate defaults, others are left blank.
# For the server to work, all variables must have values.
# Web address of the server which receives session progress and recordings, and yields chatbot predictions.
# If unspecified, recorded data will be saved to local storage under data/recordings/ and
# AI predictions will not be available.
# CLOUDFRONT_SERVER = "127.0.0.1:8090"
CLOUDFRONT_SERVER = ""
# Path to the recording identifier requesting endpoint
START_RECORD_ENDPOINT = "/start_session"
# Path to the audio input websocket endpoint
AUDIO_ENDPOINT = "/stream_recording"
# Path to the action appendment endpoint
ACTION_ENDPOINT = "/add_action"
# Local recording storage size limit in GB (see CLOUDFRONT_SERVER)
RECORDING_SIZE_LIMIT = 5
# Speech synthesis via Neurokõne
# List of strings representing neurokõne speakers
SPEAKERS = ['Luukas', 'Lee']
# String identifying the default speaker
SPEAKER = 'Luukas'
# Redirection
# When these fields are filled, this server sends its IP address to ADDRESS_RECEIVER.
# The server hosting that address should then provide that IP address to visitors.
# This enables persistent access (in the same local network as this server) without
# resorting to network scanning or reserving IP addresses in the local network.
# Server web address listening to this server's IP
ADDRESS_RECEIVER = "https://deltabot.tartunlp.ai/pepper/set"
# Name supplied to the redirection server used to differentiate between instances of this server
SERVER_IDENTIFIER = ""