deekshachilukuri commited on
Commit
3226f5e
·
verified ·
1 Parent(s): d344bc4
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,6 +1,12 @@
 
 
 
 
1
  import gradio as gr
2
  import torch
3
  from TTS.api import TTS
 
 
4
 
5
  # Assume that the TTS and its required setup are correctly configured similar to your script above
6
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
 
1
+ !pip install ipykernel
2
+ !pip install TTS
3
+ !pip install torch
4
+
5
  import gradio as gr
6
  import torch
7
  from TTS.api import TTS
8
+ import os
9
+
10
 
11
  # Assume that the TTS and its required setup are correctly configured similar to your script above
12
  device = "cuda:0" if torch.cuda.is_available() else "cpu"