Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -29,11 +29,11 @@ def load_html():
|
|
29 |
|
30 |
def test(x):
|
31 |
x = load_html()
|
32 |
-
return f"""<iframe id="sdinfframe" style="width: 100%; height:
|
33 |
display-capture; encrypted-media;" sandbox="allow-modals allow-forms
|
34 |
allow-scripts allow-same-origin allow-popups
|
35 |
allow-top-navigation-by-user-activation allow-downloads" allowfullscreen=""
|
36 |
-
allowpaymentrequest="" frameborder="0"
|
37 |
|
38 |
|
39 |
DEBUG_MODE = False
|
|
|
29 |
|
30 |
def test(x):
|
31 |
x = load_html()
|
32 |
+
return f"""<iframe id="sdinfframe" style="width: 100%; height: 600px" name="result" allow="midi; geolocation; microphone; camera;
|
33 |
display-capture; encrypted-media;" sandbox="allow-modals allow-forms
|
34 |
allow-scripts allow-same-origin allow-popups
|
35 |
allow-top-navigation-by-user-activation allow-downloads" allowfullscreen=""
|
36 |
+
allowpaymentrequest="" frameborder="0" src='{x}'></iframe>"""
|
37 |
|
38 |
|
39 |
DEBUG_MODE = False
|