Spaces:
Runtime error
Runtime error
AkhilTolani
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,12 @@
|
|
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from string import punctuation
|
5 |
import re
|
6 |
|
|
|
|
|
7 |
|
8 |
from parler_tts import ParlerTTSForConditionalGeneration
|
9 |
from transformers import AutoTokenizer, AutoFeatureExtractor, set_seed
|
|
|
1 |
+
import os
|
2 |
import spaces
|
3 |
import gradio as gr
|
4 |
import torch
|
5 |
from string import punctuation
|
6 |
import re
|
7 |
|
8 |
+
# Run the install.sh script to install dependencies
|
9 |
+
os.system("bash install.sh")
|
10 |
|
11 |
from parler_tts import ParlerTTSForConditionalGeneration
|
12 |
from transformers import AutoTokenizer, AutoFeatureExtractor, set_seed
|