# Testing Voice Model (CPU)

Alright now that you've done training your voice model it's time to test your voice model

[Colab page](https://colab.research.google.com/drive/1NVA3ndxhYWsKn-zwh3NnzMMgoVdJ5xUx)

Be sure to copy to your drive.

## Usage synthesis page

![Aw jeez rick.](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2FDHJfMIuIX7L273KN1ZZr%2Fimage.png?alt=media\&token=3150c5b3-98a9-483a-9d60-040552a8e8c1)

Alright so in this main page, you might be confused on where to's. Don't worry, we'll follow everything like it says in a colab page. So let's go for step by step.

![](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2FMF5rttUqgA5lFneooODq%2Fimage.png?alt=media\&token=0180f8f4-aed3-453b-a2d4-021f9d6b1c8c)

This will setup everything it needs (e.g downloading resources needs like tacotron2 and HIFI-GAN, etc)

![](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2FEsVINdRHDA2dXXexNsuf%2Fimage.png?alt=media\&token=5d9f9fd5-5b10-4864-907a-7b242440e5bb)

Now this is where the main part starts. First off, you need get a voice model that you trained, go to your google drive and select this folder:

![](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2FZAq2TmBTbEtAWVxzNCXa%2Ffirefox_Oo4w3zHwEG.png?alt=media\&token=c364ac02-6310-4732-94c8-b41cf854726e)

And after that you right click the model that you made:

![](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2FFWTuo6LpDpPjb9mOItzd%2Ffirefox_bcJzxJNpAs.png?alt=media\&token=864fa03a-5ea7-451f-849e-ce8b60be7239)

After that, copy that ID, NOT THE ENTIRE LINK! THE ONE WITH AN ID ON IT THAT STARTS WITH "https://drive.google.com/file/d/\*YOUR ID\*/view?usp=sharing"

![THE ONES YOU SHOULD COPY IS THE ID ITSELF, NOT THE ENTIRE LINK!](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mbak3tQVLy_GLutiL_C%2F-MbgU1a_ZX4H-7FPa9RQ%2F-MbgXpyuBuLAnX1I7mCj%2Fimage.png?alt=media\&token=a9cbf81e-929d-4bde-ad90-afe06177bfeb)

And then you paste it in tacotron\_id: \*YOUR ID\*

Now in second section you won't need it, it's really that optional, unless if you want to make it sound better, then only if you have fine-tuned model to it, which we'll do that later on.

If you did fine-tuned model, do the same thing with google drive's id link to it.

Otherwise, keep universal.

The third option is pronounciation\_dictionary.

If you have ARPABETS in your voice model then better check that, otherwise keep it unchecked if your transcript is english and not ARPABETS.

Fourth option is show\_graphs.

Really optional if you wanna see some results yourself (i recommend keeping that on because you may need some of that graph.)

Finally, max\_duration.

Depends how long you want your wav file to be, but don't put it too long or else it might synthesis long, or it'll just not play it for you and show an error.

Now once that's all with it click play and wait. Until you'll see this:

![](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2F0JcCdr5Vjzor7lhrwGx7%2Fimage.png?alt=media\&token=b6c7103e-3ebe-4ebe-b96b-1489bb33afd1)

Just type something or maybe grab some copypasta until you'll see this:

![Ignore that python error, it's not that important.](https://183883283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbak3tQVLy_GLutiL_C%2Fuploads%2FhOkpc99YqYJc7bQZulhy%2Fimage.png?alt=media\&token=169c8375-8823-41e4-8514-d488fb6a796a)

If you happy with the results then congratulations! You can now upload to uberduck now!

If your model sounds bad nor even spectrogram is just wonky then keep training or grab some more voice files until it gets better.

## Ending this section

{% embed url="https://media.giphy.com/media/11uArCoB4fkRcQ/giphy.gif" %}

Congratulations, you have successfully made an voice model. Again you can upload it to uberduck or just keep it private on your own.

If you have some errors go ahead for the next page of Troubleshooting or always ask in Uberduck's discord server.
