kjysmu commited on
Commit
570b4ea
·
verified ·
1 Parent(s): 7aff93b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -626,7 +626,15 @@ def format_prediction(model_output_dic):
626
 
627
  # Gradio UI Elements
628
  title = "Music2Emo: Towards Unified Music Emotion Recognition across Dimensional and Categorical Models"
629
- description_text = "Upload an audio file to analyze its emotional characteristics using Music2Emo. The model will predict: • Mood tags describing the emotional content • Valence score (1-9 scale, representing emotional positivity) • Arousal score (1-9 scale, representing emotional intensity) "
 
 
 
 
 
 
 
 
630
 
631
  # Custom CSS Styling
632
  css = """
 
626
 
627
  # Gradio UI Elements
628
  title = "Music2Emo: Towards Unified Music Emotion Recognition across Dimensional and Categorical Models"
629
+ # description_text = "Upload an audio file to analyze its emotional characteristics using Music2Emo. The model will predict: • Mood tags describing the emotional content • Valence score (1-9 scale, representing emotional positivity) • Arousal score (1-9 scale, representing emotional intensity) "
630
+ description_text = """
631
+ <p>Predict the emotion of music with Music2Emo!
632
+ <br/><br/> Upload an audio file to analyze its emotional characteristics using Music2Emo. The model will predict: • Mood tags describing the emotional content • Valence score (1-9 scale, representing emotional positivity) • Arousal score (1-9 scale, representing emotional intensity)
633
+ <br/><br/> This is the demo for Music2Emo for predicting emotion from music: <a href="https://arxiv.org/abs/2311.08355">Read our paper.</a>
634
+ <p/>
635
+ """
636
+
637
+
638
 
639
  # Custom CSS Styling
640
  css = """