Omnibus commited on
Commit
f960e62
1 Parent(s): 131cf4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -408,7 +408,8 @@ css="""
408
  def mm(graph,zoom):
409
  code_out=""
410
  for ea in graph.split("\n"):
411
- code=ea.strip().strip("\n").replace("/","").replace(".","").replace(":","")
 
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