Spaces:
Runtime error
Runtime error
Use dochead and src
Browse files
app.py
CHANGED
@@ -24,11 +24,19 @@ def download_logs():
|
|
24 |
def run_aim():
|
25 |
cmd = f"aim up --host {HOST} --port {PORT}".split()
|
26 |
subprocess.Popen(cmd)
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
html = f"""
|
29 |
<iframe src="http://{HOST}:{PORT}">
|
30 |
</iframe>
|
31 |
-
|
|
|
|
|
|
|
32 |
|
33 |
"""
|
34 |
|
|
|
24 |
def run_aim():
|
25 |
cmd = f"aim up --host {HOST} --port {PORT}".split()
|
26 |
subprocess.Popen(cmd)
|
27 |
+
|
28 |
+
html = f'''
|
29 |
+
<!DOCTYPE html>
|
30 |
+
<html>
|
31 |
+
<body>
|
32 |
+
|
33 |
|
|
|
34 |
<iframe src="http://{HOST}:{PORT}">
|
35 |
</iframe>
|
36 |
+
|
37 |
+
</body>
|
38 |
+
</html>
|
39 |
+
'''
|
40 |
|
41 |
"""
|
42 |
|