Spaces:
Running
on
Zero
Running
on
Zero
Update html_helper.py
Browse files- html_helper.py +1 -1
html_helper.py
CHANGED
|
@@ -101,7 +101,7 @@ def create_html_from_midi(midifile):
|
|
| 101 |
</html>
|
| 102 |
""".format(midifile=midifile)
|
| 103 |
html = f"""<div style="display: flex; justify-content: center; align-items: center;">
|
| 104 |
-
<iframe style="width: 100%; height: 500px; overflow:
|
| 105 |
</div>"""
|
| 106 |
return html
|
| 107 |
|
|
|
|
| 101 |
</html>
|
| 102 |
""".format(midifile=midifile)
|
| 103 |
html = f"""<div style="display: flex; justify-content: center; align-items: center;">
|
| 104 |
+
<iframe style="width: 100%; height: 500px; overflow:auto" srcdoc='{html_template}'></iframe>
|
| 105 |
</div>"""
|
| 106 |
return html
|
| 107 |
|