You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importjsonfromIPython.displayimportAudiofromgoogle.api_core.client_optionsimportClientOptionsfromgoogle.cloudimporttexttospeech_v1beta1astexttospeechfromvertexai.generative_modelsimportGenerationConfig, GenerativeModel, Part
Returns this error
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
[<ipython-input-1-6a9438a3d409>](https://localhost:8080/#) in <cell line: 5>()
3 from IPython.display import Audio
4 from google.api_core.client_options import ClientOptions
----> 5 from google.cloud import texttospeech_v1beta1 as texttospeech
6 from vertexai.generative_models import GenerationConfig, GenerativeModel, Part
ImportError: cannot import name 'texttospeech_v1beta1' from 'google.cloud' (unknown location)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
File Name
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/audio/speech/use-cases/podcast/multi-speaker-podcast.ipynb
What happened?
Running this code
Returns this error
Code of Conduct
The text was updated successfully, but these errors were encountered: