PHBJT commited on
Commit
20431ec
1 Parent(s): 80cff80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ from string import punctuation
7
  import re
8
  from parler_tts import ParlerTTSForConditionalGeneration
9
  from transformers import AutoTokenizer, AutoFeatureExtractor, set_seed
 
10
 
11
  # Device setup
12
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
 
7
  import re
8
  from parler_tts import ParlerTTSForConditionalGeneration
9
  from transformers import AutoTokenizer, AutoFeatureExtractor, set_seed
10
+ from transformers import pipeline
11
 
12
  # Device setup
13
  device = "cuda:0" if torch.cuda.is_available() else "cpu"