Spaces:
Runtime error
Runtime error
Commit
Β·
d0ebdbe
1
Parent(s):
419ee05
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ from gradio.mix import Series
|
|
5 |
description = "This space mixes DReAMy's large-multilingual [emotion-classification model](https://github.com/lorenzoscottb/DReAMy) with whisper-base from OpenAI, to classify recordings on their emotional content accordingly to the Hall and Van de Castle framework. For more details, see the [Bertolini et al., 23](https://arxiv.org/abs/2302.14828v1) pre-print."
|
6 |
title = "DReAM v. II"
|
7 |
|
8 |
-
whisper = gr.Interface.load("models/openai/whisper-base"
|
9 |
|
10 |
-
interface_model_L = gr.Interface.load("models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence")
|
11 |
|
12 |
Series(
|
13 |
whisper,
|
|
|
5 |
description = "This space mixes DReAMy's large-multilingual [emotion-classification model](https://github.com/lorenzoscottb/DReAMy) with whisper-base from OpenAI, to classify recordings on their emotional content accordingly to the Hall and Van de Castle framework. For more details, see the [Bertolini et al., 23](https://arxiv.org/abs/2302.14828v1) pre-print."
|
6 |
title = "DReAM v. II"
|
7 |
|
8 |
+
whisper = gr.Interface.load("models/openai/whisper-base", device="cpu")
|
9 |
|
10 |
+
interface_model_L = gr.Interface.load("models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence", device="cpu")
|
11 |
|
12 |
Series(
|
13 |
whisper,
|