Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,8 @@ document.getElementById('downloadPngBtn').addEventListener('click', downloadPng)
|
|
135 |
|
136 |
</body></html>"""
|
137 |
)
|
138 |
-
|
|
|
139 |
return f"""<iframe style="width: 100%; height: 600px" name="result" allow="midi; geolocation; microphone; camera;
|
140 |
display-capture; encrypted-media;" sandbox="allow-modals allow-forms
|
141 |
allow-scripts allow-same-origin allow-popups
|
|
|
135 |
|
136 |
</body></html>"""
|
137 |
)
|
138 |
+
x = x.replace('"', """)
|
139 |
+
x = x.replace("'", """)
|
140 |
return f"""<iframe style="width: 100%; height: 600px" name="result" allow="midi; geolocation; microphone; camera;
|
141 |
display-capture; encrypted-media;" sandbox="allow-modals allow-forms
|
142 |
allow-scripts allow-same-origin allow-popups
|