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