lorenzoscottb commited on
Commit
de1ff63
Β·
1 Parent(s): 24bc16a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -1,12 +1,8 @@
1
 
2
- import numpy as np
3
  import gradio as gr
4
  from gradio.mix import Series
5
- import os
6
 
7
- os.environ['CUDA_LAUNCH_BLOCKING'] = '1' # added after repeated runtime erros (seems with whisper)
8
-
9
- description = "This space mixes the large-multilingual [emotion classification model of DReAMy](https://github.com/lorenzoscottb/DReAMy) with the whisper model from OpenAI, to directly classify recording according to the Hall and Van de Castle framework, with respect to emotions."
10
  title = "DReAM v. II"
11
 
12
  whisper = gr.Interface.load("models/openai/whisper-base")
 
1
 
 
2
  import gradio as gr
3
  from gradio.mix import Series
 
4
 
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")