Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -91,47 +91,43 @@ def qwen_inference(media_input):
|
|
91 |
# 2. Hard-code the text prompt here
|
92 |
fixed_prompt_text = """
|
93 |
|
94 |
-
|
95 |
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
|
|
128 |
|
129 |
-
Your output should be a list of only the indicators that were observed in the video.
|
130 |
-
Do not include any indicators for which evidence is low or non-existent
|
131 |
-
Do not repeat any indicators
|
132 |
-
Do not produce any text except for the detected indicators
|
133 |
-
Do not include any indicators not provided in the list
|
134 |
-
Do not modify the description of any given indicator
|
135 |
"""
|
136 |
|
137 |
# 3. Construct the messages with your fixed text
|
|
|
91 |
# 2. Hard-code the text prompt here
|
92 |
fixed_prompt_text = """
|
93 |
|
94 |
+
Use the following typology to describe the behaviors of the child in the video
|
95 |
|
96 |
+
indicator_1 indicator_2 indicator_3 sr_no
|
97 |
+
Behavioral Category Holding Objects Holding two random objects, often simultaneously 1
|
98 |
+
Behavioral Category Holding Objects Persistent attachment to specific objects 2
|
99 |
+
Behavioral Category Eye Contact and Engagement Lack of eye contact or minimal eye engagement 3
|
100 |
+
Behavioral Category Eye Contact and Engagement Focus on objects rather than people during interaction 4
|
101 |
+
Behavioral Category Eye Contact and Engagement Unresponsive to name being called or other verbal cues 5
|
102 |
+
Behavioral Category Eye Contact and Engagement Limited back-and-forth gaze between people and objects 6
|
103 |
+
Behavioral Category Facial Expressions Flat or unexpressive face 7
|
104 |
+
Behavioral Category Facial Expressions Limited range of facial expressions 8
|
105 |
+
Behavioral Category Facial Expressions Occasional tense or grimacing facial posture 9
|
106 |
+
Behavioral Category Social Interaction Lack of shared enjoyment or visible emotional connection during interactions 10
|
107 |
+
Behavioral Category Social Interaction Disinterest in other people, even when they are engaging 11
|
108 |
+
Behavioral Category Social Interaction Inconsistent or no acknowledgment of social gestures like pointing 12
|
109 |
+
Movement and Gestures Repetitive Movements Hand flapping 13
|
110 |
+
Movement and Gestures Repetitive Movements Toe walking or bouncing on toes 14
|
111 |
+
Movement and Gestures Repetitive Movements Rocking back and forth, sometimes aggressively 15
|
112 |
+
Movement and Gestures Repetitive Movements Pacing or repetitive movements in a fixed area 16
|
113 |
+
Movement and Gestures Repetitive Movements Head shaking side to side 17
|
114 |
+
Movement and Gestures Repetitive Movements Spinning 18
|
115 |
+
Movement and Gestures Gestural Communication Using another person’s hand to point, request, or manipulate objects 19
|
116 |
+
Movement and Gestures Gestural Communication Nodding 20
|
117 |
+
Interaction with Toys and Objects Play Behavior Lining up toys or objects systematically, often by color or type 21
|
118 |
+
Interaction with Toys and Objects Play Behavior Stacking items like cans or blocks repeatedly 22
|
119 |
+
Interaction with Toys and Objects Play Behavior Fixation on spinning objects or wheels 23
|
120 |
+
Interaction with Toys and Objects Play Behavior Inspecting objects from unusual angles, such as sideways 24
|
121 |
+
Interaction with Toys and Objects Sensory Preferences Chewing or mouthing objects 25
|
122 |
+
Interaction with Toys and Objects Sensory Preferences Sensory-seeking behaviors like rubbing textures or spinning in circles without getting dizzy 26
|
123 |
+
Interaction with Toys and Objects Sensory Preferences Sensitivity to sounds, often covering ears 27
|
124 |
+
Interaction with Toys and Objects Sensory Preferences Visual inspection of objects up close or intensely 28
|
125 |
+
Gender and Developmental Nuances Gender-Based Masking Females may mimic or "mask" typical behaviors more effectively, making symptoms less apparent 29
|
126 |
+
Gender and Developmental Nuances Gender-Based Masking Girls may demonstrate learned emotional and social responses that obscure typical signs 30
|
127 |
+
Gender and Developmental Nuances Developmental Indicators Delays or atypical development in social communication and interaction milestones 31
|
128 |
+
Gender and Developmental Nuances Developmental Indicators Difficulty with back-and-forth conversation or social reciprocity 32
|
129 |
|
130 |
+
Your output should be a list of only the indicators that were observed in the video. Do not include any indicators for which evidence is low or non-existent
|
|
|
|
|
|
|
|
|
|
|
131 |
"""
|
132 |
|
133 |
# 3. Construct the messages with your fixed text
|