Omnibus commited on
Commit
2ddcb6e
·
verified ·
1 Parent(s): 3049fc1

Update app.py

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