Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -408,7 +408,8 @@ css="""
|
|
408 |
def mm(graph,zoom):
|
409 |
code_out=""
|
410 |
for ea in graph.split("\n"):
|
411 |
-
|
|
|
412 |
code_out+=code
|
413 |
#out_html=f'''<div><iframe src="https://omnibus-mermaid-script.static.hf.space/index.html?mermaid={code_out}&rand={random.randint(1,1111111111)}" height="500" width="500"></iframe></div>'''
|
414 |
|
|
|
408 |
def mm(graph,zoom):
|
409 |
code_out=""
|
410 |
for ea in graph.split("\n"):
|
411 |
+
ea=ea.replace("/"," ").replace(".","").replace(":"," ")
|
412 |
+
code=ea.strip().strip("\n")
|
413 |
code_out+=code
|
414 |
#out_html=f'''<div><iframe src="https://omnibus-mermaid-script.static.hf.space/index.html?mermaid={code_out}&rand={random.randint(1,1111111111)}" height="500" width="500"></iframe></div>'''
|
415 |
|