add OMP_NUM_THREADS

This commit is contained in:
Moritz 2024-08-14 10:25:57 +02:00
parent cb45e37b68
commit 9f7b08e278
2 changed files with 3 additions and 3 deletions

View file

@ -19,12 +19,11 @@ def audio_callback_closure(client: AsyncClient):
response = requests.post('http://127.0.0.1:9000/asr?encode=true&task=transcribe&word_timestamps=false&output=txt', files=files)
print("Finished transcribing")
room_id = room.room_id
sent_message = await client.room_send(
await client.room_send(
room_id=room_id,
message_type="m.room.message",
content={"msgtype": "m.text", "body": response.content.decode()},
)
print(sent_message)
return audio_callback