Fix f-string
This commit is contained in:
parent
2d3f33331c
commit
f6cfcd2372
1 changed files with 2 additions and 1 deletions
|
@ -119,6 +119,7 @@ class Prediction(threading.Thread):
|
||||||
print("MQTT: Connected to broker", flush=True)
|
print("MQTT: Connected to broker", flush=True)
|
||||||
|
|
||||||
self.oww = Model(
|
self.oww = Model(
|
||||||
|
# wakeword_model_names=["hey_mycroft", "dog"],
|
||||||
vad_threshold=config["oww"]["vad_threshold"],
|
vad_threshold=config["oww"]["vad_threshold"],
|
||||||
enable_speex_noise_suppression=config["oww"][
|
enable_speex_noise_suppression=config["oww"][
|
||||||
"enable_speex_noise_suppression"
|
"enable_speex_noise_suppression"
|
||||||
|
@ -194,7 +195,7 @@ class Prediction(threading.Thread):
|
||||||
}
|
}
|
||||||
self.mqtt.publish(f"hermes/hotword/{wakeword}/detected", dumps(payload))
|
self.mqtt.publish(f"hermes/hotword/{wakeword}/detected", dumps(payload))
|
||||||
print(
|
print(
|
||||||
"MQTT: Published wakeword {wakeword}, siteId {roomname} to Rhasspy",
|
f"MQTT: Published wakeword {wakeword}, siteId {roomname} to Rhasspy",
|
||||||
flush=True,
|
flush=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue