Skip to content

Make hardcoded int to truncate printed transcription length configurable #377

@Rasmusmario123

Description

@Rasmusmario123

In the client.py script, the last part of the process_segments method looks like this

        # Truncate to last 3 entries for brevity.
        text = text[-3:]
        utils.clear_screen()
        utils.print_transcript(text)

I think it would be better if the user could pass a value through the TranscriptionClient class to set the number of entries that should be printed to the terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions