Skip to content

Commit

Permalink
✨ Colab improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
EssamWisam committed Nov 9, 2023
1 parent eeab5d0 commit c7f883b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions botiverse/models/FastSpeech1/FastSpeech.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,9 @@
" \n",
" if play:\n",
" write('sample.wav', 22050, audio.astype('int16'))\n",
" playsound(\"sample.wav\") # comment me if on Google Colab\n",
" #from IPython.display import Audio, display # uncomment me if on Google Colab\n",
" #display(Audio('sample.wav', autoplay=True)) # uncomment me if on Google Colab\n",
" #playsound(\"sample.wav\") # comment me if on Google Colab\n",
" from IPython.display import Audio, display # comment me if running offline\n",
" display(Audio('sample.wav', autoplay=True)) # comment me if running offline\n",
" os.remove(\"sample.wav\")\n",
" return audio"
]
Expand Down

0 comments on commit c7f883b

Please sign in to comment.