Mayamaya commited on
Commit
3f961f4
ยท
1 Parent(s): 5f5cc4b
Files changed (1) hide show
  1. app.py +17 -6
app.py CHANGED
@@ -45,15 +45,26 @@ MAPPING_FILENAME = "combination_to_filename.json"
45
  CONDITIONS = ["Ours", "w_o_Proto_Loss", "w_o_HitL", "w_o_Tuning", "LLM-based"]
46
  CRITERIA = ["Alignment", "Naturalness", "Attractiveness"]
47
 
 
 
 
 
 
 
 
 
 
 
 
48
  CRITERIA_GUIDANCE_JP = [
49
- "ใƒ†ใ‚ญใ‚นใƒˆใจ่กจๆƒ…ใŒใฉใ‚Œใ ใ‘ไธ€่‡ดใ—ใฆใ„ใ‚‹ใ‹",
50
- "ใƒ†ใ‚ญใ‚นใƒˆใฎๆ„Ÿๆƒ…ใซๆฒฟใฃใŸใ‚ปใƒชใƒ•ใ‚’่จ€ใฃใฆใ„ใ‚‹ใจๆƒณๅƒใ—ใŸใจใใ€่กจๆƒ…ใŒใฉใ‚Œใ ใ‘่‡ช็„ถใ‹",
51
- "ใƒ†ใ‚ญใ‚นใƒˆใฎๆ„Ÿๆƒ…ใซๆฒฟใฃใŸใ‚ปใƒชใƒ•ใ‚’่จ€ใฃใฆใ„ใ‚‹ใจๆƒณๅƒใ—ใŸใจใใ€่กจๆƒ…ใŒใฉใ‚Œใ ใ‘้ญ…ๅŠ›็š„ใ‹"
52
  ]
53
  CRITERIA_GUIDANCE_EN = [
54
- "how well the expression aligns with the text",
55
- "imagining the character is speaking a line that matches the emotion of the text, how natural the facial expression is",
56
- "imagining the character is speaking a line that matches the emotion of the text, how attractive the facial expression is"
57
  ]
58
  IMAGE_LABELS = ['A', 'B', 'C', 'D', 'E']
59
 
 
45
  CONDITIONS = ["Ours", "w_o_Proto_Loss", "w_o_HitL", "w_o_Tuning", "LLM-based"]
46
  CRITERIA = ["Alignment", "Naturalness", "Attractiveness"]
47
 
48
+ # CRITERIA_GUIDANCE_JP = [
49
+ # "ใƒ†ใ‚ญใ‚นใƒˆใจ่กจๆƒ…ใŒใฉใ‚Œใ ใ‘ไธ€่‡ดใ—ใฆใ„ใ‚‹ใ‹",
50
+ # "ใƒ†ใ‚ญใ‚นใƒˆใฎๆ„Ÿๆƒ…ใซๆฒฟใฃใŸใ‚ปใƒชใƒ•ใ‚’่จ€ใฃใฆใ„ใ‚‹ใจๆƒณๅƒใ—ใŸใจใใ€่กจๆƒ…ใŒใฉใ‚Œใ ใ‘่‡ช็„ถใ‹",
51
+ # "ใƒ†ใ‚ญใ‚นใƒˆใฎๆ„Ÿๆƒ…ใซๆฒฟใฃใŸใ‚ปใƒชใƒ•ใ‚’่จ€ใฃใฆใ„ใ‚‹ใจๆƒณๅƒใ—ใŸใจใใ€่กจๆƒ…ใŒใฉใ‚Œใ ใ‘้ญ…ๅŠ›็š„ใ‹"
52
+ # ]
53
+ # CRITERIA_GUIDANCE_EN = [
54
+ # "how well the expression aligns with the text",
55
+ # "imagining the character is speaking a line that matches the emotion of the text, how natural the facial expression is",
56
+ # "imagining the character is speaking a line that matches the emotion of the text, how attractive the facial expression is"
57
+ # ]
58
+
59
  CRITERIA_GUIDANCE_JP = [
60
+ "ใƒ†ใ‚ญใ‚นใƒˆใจไธŠๅŠๅˆ†ใฎ่กจๆƒ…ใŒใฉใ‚Œใ ใ‘ไธ€่‡ดใ—ใฆใ„ใพใ™ใ‹๏ผŸ",
61
+ "ๆ็คบใ•ใ‚ŒใŸใƒ†ใ‚ญใ‚นใƒˆใจไธŠๅŠๅˆ†ใฎ่กจๆƒ…ใ‚’่€ƒๆ…ฎใ—ใŸไธŠใงใ€ใ“ใฎใ‚ญใƒฃใƒฉใ‚ฏใ‚ฟใƒผใฏใฉใ‚Œใ ใ‘่‡ช็„ถใซ่ฆ‹ใˆใพใ™ใ‹๏ผŸ",
62
+ "ๆ็คบใ•ใ‚ŒใŸใƒ†ใ‚ญใ‚นใƒˆใจไธŠๅŠๅˆ†ใฎ่กจๆƒ…ใ‚’่€ƒๆ…ฎใ—ใŸไธŠใงใ€ใ“ใฎใ‚ญใƒฃใƒฉใ‚ฏใ‚ฟใƒผใฏใฉใ‚Œใ ใ‘้ญ…ๅŠ›็š„ใซ่ฆ‹ใˆใพใ™ใ‹๏ผŸ"
63
  ]
64
  CRITERIA_GUIDANCE_EN = [
65
+ "How well does the text align with the upper half of the expression?",
66
+ "Considering the provided text and the upper half of the expression, how natural was the character overall?",
67
+ "Considering the provided text and the upper half of the expression, how attractive was the character overall?"
68
  ]
69
  IMAGE_LABELS = ['A', 'B', 'C', 'D', 'E']
70