Terry Zhuo
commited on
Commit
·
b624eaf
1
Parent(s):
a20f1c5
update
Browse files- azure_count_ip_data.py +1 -0
azure_count_ip_data.py
CHANGED
@@ -161,6 +161,7 @@ def get_file_data(content: str) -> Tuple[Optional[str], Optional[str], bool]:
|
|
161 |
try:
|
162 |
lines = [line.strip() for line in content.split('\n') if line.strip()]
|
163 |
user_prompt = json.loads(lines[0])["state"]["messages"][0][1]
|
|
|
164 |
if not lines:
|
165 |
return None, None, False, user_prompt
|
166 |
|
|
|
161 |
try:
|
162 |
lines = [line.strip() for line in content.split('\n') if line.strip()]
|
163 |
user_prompt = json.loads(lines[0])["state"]["messages"][0][1]
|
164 |
+
print(user_prompt)
|
165 |
if not lines:
|
166 |
return None, None, False, user_prompt
|
167 |
|