small fixes

This commit is contained in:
Looki2000
2023-12-04 23:07:43 +01:00
parent 345de72aa1
commit 20238a31bf
4 changed files with 49 additions and 17 deletions

View File

@@ -10,14 +10,21 @@
"\n",
"core = Core(\n",
" whisper_model_name = \"large-v3\",\n",
" use_chatgpt_placeholder = True\n",
")\n",
"\n",
" use_chatgpt_placeholder = False\n",
")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"core.set_order_settings(\n",
" phone_number = \"123456789\",\n",
" order_items = \"1x margharitta\\n2x sos majonezowy\",\n",
" delivery_address = \"ul. Amogusowa 1337, Suski Małe\",\n",
" payment_method = \"karta\"\n",
" order_items = \"2x margherita\\n3x sos czosnkowy\\n2x pepsi 1.5l\",\n",
" delivery_address = \"ulica Kielecka 16A, Opole\",\n",
" payment_method = \"gotówka\"\n",
")\n",
"\n",
"core.set_speech_recog_settings(\n",
@@ -28,12 +35,26 @@
" vad_threshold = 0.6,\n",
" min_silence_duration_ms = 150,\n",
" speech_pad_ms = 0\n",
")\n",
"\n",
")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"core.set_tts_settings(\n",
" speaker_wav = \"voices/lector.wav\"\n",
")\n",
"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" core.assistant_start()\n",
"except (KeyboardInterrupt, SystemExit):\n",