Spaces:
Running
on
Zero
Running
on
Zero
xinjie.wang
commited on
Commit
·
24c6a46
1
Parent(s):
44648c3
update
Browse files
embodied_gen/validators/urdf_convertor.py
CHANGED
@@ -139,7 +139,9 @@ class URDFGenerator(object):
|
|
139 |
|
140 |
def parse_response(self, response: str) -> dict[str, any]:
|
141 |
lines = response.split("\n")
|
|
|
142 |
lines = [line.strip() for line in lines if line]
|
|
|
143 |
category = lines[0].split(": ")[1]
|
144 |
description = lines[1].split(": ")[1]
|
145 |
min_height, max_height = map(
|
|
|
139 |
|
140 |
def parse_response(self, response: str) -> dict[str, any]:
|
141 |
lines = response.split("\n")
|
142 |
+
print("1", lines)
|
143 |
lines = [line.strip() for line in lines if line]
|
144 |
+
print("2", lines)
|
145 |
category = lines[0].split(": ")[1]
|
146 |
description = lines[1].split(": ")[1]
|
147 |
min_height, max_height = map(
|