muellerzr HF staff commited on
Commit
60e1af6
1 Parent(s): 71f7183

Fully bring back old code

Browse files
Files changed (1) hide show
  1. app.py +5 -12
app.py CHANGED
@@ -25,15 +25,10 @@ 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
35
- src="http://{HOST}:{PORT}";
36
- style="";
37
  position: fixed;
38
  top: 0px;
39
  bottom: 0px;
@@ -45,11 +40,9 @@ html = f'''
45
  overflow: hidden;
46
  z-index: 999999;
47
  height: 100%;
 
48
  </iframe>
49
-
50
- </body>
51
- </html>
52
- '''
53
 
54
  def run():
55
  print("Starting server....")
 
25
  cmd = f"aim up --host {HOST} --port {PORT}".split()
26
  subprocess.Popen(cmd)
27
 
28
+ html = f"""
 
 
 
 
 
29
  <iframe
30
+ src="http://{HOST}:{PORT}"
31
+ style="
32
  position: fixed;
33
  top: 0px;
34
  bottom: 0px;
 
40
  overflow: hidden;
41
  z-index: 999999;
42
  height: 100%;
43
+ ">
44
  </iframe>
45
+ """
 
 
 
46
 
47
  def run():
48
  print("Starting server....")