Spaces:
Runtime error
Runtime error
Update processing.py
Browse files- processing.py +5 -5
processing.py
CHANGED
@@ -143,13 +143,13 @@ Please provide a comprehensive analysis for each speaker, including:
|
|
143 |
2. Attachment styles (use the format from the Attachment Styles Task)
|
144 |
3. Big Five traits (use the format from the Big Five Traits Task)
|
145 |
4. Personality disorders (use the format from the Personality Disorders Task)
|
146 |
-
Respond with a JSON object containing an array of speaker analyses under the key 'speaker_analyses'. Each speaker analysis should include all four aspects mentioned above.
|
147 |
Analysis:"""
|
148 |
|
149 |
-
truncated_input_tokents_count = count_tokens(truncated_input)
|
150 |
-
print('truncated_input_tokents_count:', truncated_input_tokents_count)
|
151 |
-
input_tokens_count = count_tokens(prompt)
|
152 |
-
print('input_tokens_count', input_tokens_count)
|
153 |
|
154 |
response = llm.invoke(prompt)
|
155 |
|
|
|
143 |
2. Attachment styles (use the format from the Attachment Styles Task)
|
144 |
3. Big Five traits (use the format from the Big Five Traits Task)
|
145 |
4. Personality disorders (use the format from the Personality Disorders Task)
|
146 |
+
Respond with a JSON object containing an array of speaker analyses under the key 'speaker_analyses'. Each speaker analysis should include all four aspects mentioned above, however, General impressions must not be in json or dict format.
|
147 |
Analysis:"""
|
148 |
|
149 |
+
#truncated_input_tokents_count = count_tokens(truncated_input)
|
150 |
+
#print('truncated_input_tokents_count:', truncated_input_tokents_count)
|
151 |
+
#input_tokens_count = count_tokens(prompt)
|
152 |
+
#print('input_tokens_count', input_tokens_count)
|
153 |
|
154 |
response = llm.invoke(prompt)
|
155 |
|