Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -435,8 +435,8 @@ def format_json(inp):
|
|
435 |
for i,line in enumerate(inp):
|
436 |
line = line.strip()
|
437 |
print(line)
|
438 |
-
if not any(x in line for x in matches):
|
439 |
-
|
440 |
print("###########")
|
441 |
print("###########")
|
442 |
#inp = inp.strip("<\s>")
|
|
|
435 |
for i,line in enumerate(inp):
|
436 |
line = line.strip()
|
437 |
print(line)
|
438 |
+
#if not any(x in line for x in matches):
|
439 |
+
new_str+=line.strip("\n").strip("```").strip("#").strip("//")
|
440 |
print("###########")
|
441 |
print("###########")
|
442 |
#inp = inp.strip("<\s>")
|