Skip to content

Commit 5501ae0

Browse files
AssemblyAISoheyl
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: dc2cd0449f89ca91511a1e2044cf2b1154d9ee48
1 parent ecb1f7f commit 5501ae0

File tree

4 files changed

+117
-112
lines changed

4 files changed

+117
-112
lines changed

README.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,6 @@ print(transcript.text)
8181
```
8282
</details>
8383

84-
<details>
85-
<summary>Add Punctuation, Casing, and Formatting to a Transcript</summary>
86-
87-
```python
88-
import assemblyai as aai
89-
90-
config = aai.TranscriptionConfig(
91-
punctuate = True,
92-
format_text = True,
93-
)
94-
95-
transcriber = aai.Transcriber()
96-
transcript = transcriber.transcribe("https://example.org/audio.mp3", config)
97-
```
98-
</details>
99-
10084
<details>
10185
<summary>Export Subtitles of an Audio File</summary>
10286

@@ -120,13 +104,8 @@ print(transcript.export_subtitles_vtt())
120104
```python
121105
import assemblyai as aai
122106

123-
config = aai.TranscriptionConfig(
124-
punctuate = True,
125-
format_text = True,
126-
)
127-
128107
transcriber = aai.Transcriber()
129-
transcript = transcriber.transcribe("https://example.org/audio.mp3", config)
108+
transcript = transcriber.transcribe("https://example.org/audio.mp3")
130109

131110
sentences = transcript.get_sentences()
132111
for sentence in sentences:

assemblyai.png

-31.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)