Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -30,14 +30,18 @@ def fix_json():
|
|
30 |
#print (line)
|
31 |
if "name:" in line:
|
32 |
out = line.replace("name:",'"name":')
|
|
|
33 |
if "modality:" in line:
|
34 |
out = line.replace("modality:",'"modality":')
|
|
|
35 |
if "type:" in line:
|
36 |
out = line.replace("type:",'"type":')
|
|
|
37 |
if "subtasks:" in line:
|
38 |
out = line.replace("subtasks:",'"subtasks":')
|
|
|
39 |
if "color:" in line:
|
40 |
out = line.replace("color:",'"color":')
|
41 |
-
|
42 |
-
print
|
43 |
fix_json()
|
|
|
30 |
#print (line)
|
31 |
if "name:" in line:
|
32 |
out = line.replace("name:",'"name":')
|
33 |
+
print (out)
|
34 |
if "modality:" in line:
|
35 |
out = line.replace("modality:",'"modality":')
|
36 |
+
print (out)
|
37 |
if "type:" in line:
|
38 |
out = line.replace("type:",'"type":')
|
39 |
+
print (out)
|
40 |
if "subtasks:" in line:
|
41 |
out = line.replace("subtasks:",'"subtasks":')
|
42 |
+
print (out)
|
43 |
if "color:" in line:
|
44 |
out = line.replace("color:",'"color":')
|
45 |
+
print (out)
|
46 |
+
else: print(line)
|
47 |
fix_json()
|