Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ from utils import split
|
|
10 |
from utils import speech_to_text as stt
|
11 |
|
12 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
13 |
-
device = 0 if torch.cuda.is_available() else -1
|
14 |
|
15 |
color_map = {"joy": "green","anger": "red","surprise": "yellow","sadness": "blue","fear": "orange","love": "purple",}
|
16 |
|
|
|
10 |
from utils import speech_to_text as stt
|
11 |
|
12 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
|
13 |
|
14 |
color_map = {"joy": "green","anger": "red","surprise": "yellow","sadness": "blue","fear": "orange","love": "purple",}
|
15 |
|