ez326 commited on
Commit
13e4f75
·
verified ·
1 Parent(s): 462e149

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +42 -7
app.py CHANGED
@@ -11,17 +11,17 @@ css = """
11
  }
12
  /* Compact styling for criterion name and description */
13
  .criteria-name {
14
- font-size: 14px;
15
  font-weight: bold;
16
  }
17
  .criteria-description {
18
- font-size: 12px;
19
  color: #555;
20
  }
21
  .category-header {
22
  margin-top: 6px;
23
- margin-bottom: 4px;
24
- font-size: 16px;
25
  font-weight: bold;
26
  border-bottom: 1px solid #ccc;
27
  padding-bottom: 2px;
@@ -33,8 +33,8 @@ css = """
33
  }
34
  /* Enlarge slider thumb for easier touch */
35
  div[data-baseweb="slider"] .Thumb {
36
- width: 24px !important;
37
- height: 24px !important;
38
  }
39
  /* Hide slider tick marks, tick bar, min/max texts, and empty slider label */
40
  div[data-baseweb="slider"] .Tick,
@@ -74,7 +74,42 @@ criteria = {
74
  {"name": "Character Development", "description": "Depth, relatability, motivations, and arcs."},
75
  {"name": "Theme & Symbolism", "description": "Use of deeper meaning, metaphors, and thematic consistency."}
76
  ],
77
- # ... (other categories omitted for brevity)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
 
80
  def calculate_score(ratings):
 
11
  }
12
  /* Compact styling for criterion name and description */
13
  .criteria-name {
14
+ font-size: 12px;
15
  font-weight: bold;
16
  }
17
  .criteria-description {
18
+ font-size: 10px;
19
  color: #555;
20
  }
21
  .category-header {
22
  margin-top: 6px;
23
+ margin-bottom: 3px;
24
+ font-size: 14px;
25
  font-weight: bold;
26
  border-bottom: 1px solid #ccc;
27
  padding-bottom: 2px;
 
33
  }
34
  /* Enlarge slider thumb for easier touch */
35
  div[data-baseweb="slider"] .Thumb {
36
+ width: 36px !important;
37
+ height: 36px !important;
38
  }
39
  /* Hide slider tick marks, tick bar, min/max texts, and empty slider label */
40
  div[data-baseweb="slider"] .Tick,
 
74
  {"name": "Character Development", "description": "Depth, relatability, motivations, and arcs."},
75
  {"name": "Theme & Symbolism", "description": "Use of deeper meaning, metaphors, and thematic consistency."}
76
  ],
77
+ "Cinematography": [
78
+ {"name": "Camera Work", "description": "Shot composition, stability, movement, and angles."},
79
+ {"name": "Lighting", "description": "Contrast, exposure control, and mood-setting."},
80
+ {"name": "Color Grading", "description": "Palette consistency, contrast, and emotional tone."},
81
+ {"name": "Framing & Aspect Ratio", "description": "Use of space, focus, and visual storytelling."}
82
+ ],
83
+ "Editing & Pacing": [
84
+ {"name": "Scene Transitions", "description": "Smoothness, creativity, and effectiveness."},
85
+ {"name": "Continuity", "description": "Logical flow and lack of visual inconsistencies."},
86
+ {"name": "Pacing", "description": "Balance between slow and fast scenes, engagement level."},
87
+ {"name": "Use of Montage", "description": "Storytelling efficiency via edited sequences."}
88
+ ],
89
+ "Sound": [
90
+ {"name": "Dialogue Mixing", "description": "Clarity, balance, and intelligibility of speech."},
91
+ {"name": "Foley & Sound Effects", "description": "Realism, accuracy, and integration into the world."},
92
+ {"name": "Score & Music", "description": "Uniqueness, memorability, and emotional impact."},
93
+ {"name": "Spatial Audio & Atmosphere", "description": "Immersion, ambient sound accuracy, and use of silence."}
94
+ ],
95
+ "Directing & Performance": [
96
+ {"name": "Directing", "description": "Cohesion of vision, creative choices, and execution."},
97
+ {"name": "Acting", "description": "Expression, dialogue delivery, and emotional depth."},
98
+ {"name": "Blocking & Staging", "description": "Character positioning, movement, and scene composition."},
99
+ {"name": "Action & Stunt Choreography", "description": "Realism, execution, and visual readability."}
100
+ ],
101
+ "Production & Visuals": [
102
+ {"name": "Production Design", "description": "Set design, world-building, and authenticity."},
103
+ {"name": "Costume & Makeup", "description": "Period accuracy, character enhancement, and detailing."},
104
+ {"name": "Practical Effects & Props", "description": "Use of real elements over CGI, believability."},
105
+ {"name": "VFX & CGI Integration", "description": "Quality, realism, and seamless blending."}
106
+ ],
107
+ "Engagement & Replay Value": [
108
+ {"name": "Plot", "description": "Uniqueness, engagement, predictability, and emotional weight."},
109
+ {"name": "Originality", "description": "Avoidance of clichés, fresh storytelling, and innovation."},
110
+ {"name": "Rewatchability", "description": "Whether the movie holds up over multiple viewings."},
111
+ {"name": "Emotional Impact", "description": "Strength of connection, intensity of response."}
112
+ ]
113
  }
114
 
115
  def calculate_score(ratings):