Skip to content

chore: sync code base with OSS repository #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assemblyai/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.28.1"
__version__ = "0.29.0"
2 changes: 1 addition & 1 deletion assemblyai/transcriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def confidence(self) -> Optional[float]:
return self._impl.transcript.confidence

@property
def audio_duration(self) -> Optional[float]:
def audio_duration(self) -> Optional[int]:
"The duration of the audio in seconds"

return self._impl.transcript.audio_duration
Expand Down
2 changes: 1 addition & 1 deletion assemblyai/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@ class TranscriptResponse(BaseTranscript):
confidence: Optional[float]
"The confidence our model has in the transcribed text, between 0.0 and 1.0"

audio_duration: Optional[float]
audio_duration: Optional[int]
"The duration of your media file, in seconds"

webhook_status_code: Optional[int]
Expand Down
Loading