Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

ai_dubs has wrong path on GCS #63

@anhthoai

Description

@anhthoai

Hello. I tried your command but it always show error :
File "dubber.py", line 443, in dub transcripts = get_transcripts_json(os.path.join( File "dubber.py", line 110, in get_transcripts_json res = client.long_running_recognize(config=config, audio=audio).result() File "C:\Users\mrcool\making_with_ml\ai_dubs\venv\lib\site-packages\google\cloud\speech_v1p1beta1\services\speech\client.py", line 457, in long_running_recognize response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,) File "C:\Users\mrcool\making_with_ml\ai_dubs\venv\lib\site-packages\google\api_core\gapic_v1\method.py", line 145, in __call__ return wrapped_func(*args, **kwargs) File "C:\Users\mrcool\making_with_ml\ai_dubs\venv\lib\site-packages\google\api_core\grpc_helpers.py", line 59, in error_remapped_callable six.raise_from(exceptions.from_grpc_error(exc), exc) File "<string>", line 3, in raise_from google.api_core.exceptions.InvalidArgument: 400 Invalid recognition 'config': Bad language code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions