Devakumar868 commited on
Commit
df7bbc6
·
verified ·
1 Parent(s): 7ffc610

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -11,6 +11,19 @@ import time
11
  from datetime import datetime
12
  import os
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  warnings.filterwarnings("ignore")
15
 
16
  # Global models
 
11
  from datetime import datetime
12
  import os
13
 
14
+ try:
15
+ from nari_tts import Dia
16
+ DIA_AVAILABLE = True
17
+ except ImportError:
18
+ print("⚠️ Dia TTS not available, using fallback TTS")
19
+ DIA_AVAILABLE = False
20
+
21
+ warnings.filterwarnings("ignore")
22
+
23
+
24
+
25
+
26
+
27
  warnings.filterwarnings("ignore")
28
 
29
  # Global models