lorenzoscottb commited on
Commit
d0ebdbe
Β·
1 Parent(s): 419ee05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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").to("cpu")
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,