Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ js_c=("""
|
|
| 32 |
|
| 33 |
#def call_chart(mermaidCode):
|
| 34 |
def mm(graph=mermaid_code):
|
| 35 |
-
out_html=f'<iframe src="https://omnibus-mermaid-script.static.hf.space/index.html?mermaid={graph}"></iframe>'
|
| 36 |
return gr.update(out_html)
|
| 37 |
|
| 38 |
"""
|
|
|
|
| 32 |
|
| 33 |
#def call_chart(mermaidCode):
|
| 34 |
def mm(graph=mermaid_code):
|
| 35 |
+
out_html=f'''<div><iframe src="https://omnibus-mermaid-script.static.hf.space/index.html?mermaid={graph}"></iframe></div>'''
|
| 36 |
return gr.update(out_html)
|
| 37 |
|
| 38 |
"""
|