-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.py
More file actions
25 lines (17 loc) · 817 Bytes
/
settings.py
File metadata and controls
25 lines (17 loc) · 817 Bytes
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
#the name of one of your characters in oobabooga text generation web UI (Paremeters > Character tab)
oobabooga_api_name = "Lisa"
oobabooga_api_host = 'localhost:5000'
wake_words = ["lisa"]
#region additional voice commands
delete_history = "delete history" #delete all dialog history
delete_the_last_message = "delete the last message"
#endregion
#region Whisper settings
whisper_model = "medium" #"tiny", "base", "small", "medium", "large"
energy_threshold = 0 #Energy level for mic to detect.
record_timeout = 5 #How real time the recording is in seconds.
phrase_timeout = 4 #How much empty space between recordings before we consider it a new line in the transcription.
#endregion
wave_file_name = "sound.wav"
device = "cuda"
history_file_name = "history.json"