Skip to content

Commit 3bffb53

Browse files
authored
Merge branch 'main' into dev
2 parents f947e11 + 8576285 commit 3bffb53

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

augmentos_docs/docs/tutorial/how-to.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ You're now running an AugmentOS TPA!
7272

7373
## **AugmentOSLib installation**
7474

75-
1. Clone the [AugmentOS repository](https://github.com/augmentos/augmentos) next to your app's directory (default setup)
75+
1. Clone the [AugmentOS repository](https://github.com/AugmentOS-Community/AugmentOS) next to your app's directory (default setup)
7676

77-
2. If you cloned the [AugmentOS repository](https://github.com/augmentos/augmentos) elsewhere, update the path to AugmentOSLib in `settings.gradle`:
77+
2. If you cloned the [AugmentOS repository](https://github.com/AugmentOS-Community/AugmentOS) elsewhere, update the path to AugmentOSLib in `settings.gradle`:
7878
```
7979
project(':AugmentOSLib').projectDir = new File(rootProject.projectDir, '../AugmentOS/augmentos_android_library/AugmentOSLib')
8080
```

server/asr_server/augmentos_asr_websocket_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from dataclasses import dataclass
99
from typing import Optional, Dict, List
1010
from pathlib import Path
11+
from azure.cognitiveservices.speech import ProfanityOption
1112

1213
@dataclass
1314
class StreamConfig:
@@ -60,6 +61,7 @@ def __init__(self, speech_key: str, service_region: str, config: StreamConfig, w
6061
self.speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
6162
self.speech_config.speech_recognition_language = self.transcribeLanguage
6263
self.speech_config.set_property(speechsdk.PropertyId.Speech_SegmentationSilenceTimeoutMs, "500")
64+
self.speech_config.set_profanity(speechsdk.ProfanityOption.Raw)
6365

6466
self.push_stream = speechsdk.audio.PushAudioInputStream()
6567
self.audio_config = speechsdk.audio.AudioConfig(stream=self.push_stream)
@@ -282,4 +284,4 @@ async def main():
282284
await asyncio.Future()
283285

284286
if __name__ == "__main__":
285-
asyncio.run(main())
287+
asyncio.run(main())

0 commit comments

Comments
 (0)