IvanBl1m1nse commited on
Commit
aa7a6b0
·
verified ·
1 Parent(s): 973be4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -46
app.py CHANGED
@@ -1,48 +1,3 @@
1
- Hugging Face's logo
2
- Hugging Face
3
- Models
4
- Datasets
5
- Spaces
6
- Posts
7
- Docs
8
- Enterprise
9
- Pricing
10
-
11
-
12
-
13
- Spaces:
14
-
15
-
16
- IvanBl1m1nse
17
- /
18
- music2emo
19
-
20
-
21
- like
22
- 0
23
-
24
- Logs
25
- App
26
- Files
27
- Community
28
- Settings
29
- music2emo
30
- /
31
- app.py
32
-
33
- IvanBl1m1nse's picture
34
- IvanBl1m1nse
35
- Update app.py
36
- 5acb0ca
37
- verified
38
- 36 minutes ago
39
- raw
40
-
41
- Copy download link
42
- history
43
- blame
44
-
45
- 31 kB
46
  import os
47
  import shutil
48
  import json
@@ -790,6 +745,7 @@ def format_prediction(model_output_dic):
790
 
791
  # Create formatted output
792
  output_text = f"""🎭 Predicted Mood Tags: {moods_text}
 
793
  💖 Valence: {valence:.2f} (Scale: 1-9)
794
  ⚡ Arousal: {arousal:.2f} (Scale: 1-9)"""
795
 
@@ -891,4 +847,4 @@ demo.queue().launch(share=True, show_error=True)
891
 
892
 
893
 
894
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import shutil
3
  import json
 
745
 
746
  # Create formatted output
747
  output_text = f"""🎭 Predicted Mood Tags: {moods_text}
748
+
749
  💖 Valence: {valence:.2f} (Scale: 1-9)
750
  ⚡ Arousal: {arousal:.2f} (Scale: 1-9)"""
751
 
 
847
 
848
 
849
 
850
+