We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b84c0f9 commit 3927c3dCopy full SHA for 3927c3d
README.md
@@ -77,9 +77,9 @@ Output:<br>
77
// 1- initiate the remote speech model
78
RemoteSpeechModel model = new RemoteSpeechModel(apiKey, SpeechModels.google);
79
80
-// 2- call generateImages with any command !
+// 2- call generateEnglishText with any text
81
SpeechInput input = new SpeechInput.Builder("Hi, I am Intelligent Java.").build();
82
-List<String> images = imageModel.generateImages(imageInput);
+byte[] decodedAudio = model.generateEnglishText(input);
83
```
84
85
For full example check the code inside sample_code project.
0 commit comments