Omnibus commited on
Commit
4563510
1 Parent(s): 05ada67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -159,13 +159,13 @@ def load_html(inp,title):
159
  print(f'outp:: {outp}')
160
  print(f'prom:: {prom}')
161
  ht+=f"""<div class="div_box">
162
- <div class="resp1">{outp}</div>
163
- <div class="resp2">{prom}</div>
164
  </div>"""
165
  with open('index.html','r') as h:
166
  html=h.read()
167
  html = html.replace("$body",f"{ht}")
168
- html = html.replace("$body",f"{title}")
169
  h.close()
170
  return html
171
 
 
159
  print(f'outp:: {outp}')
160
  print(f'prom:: {prom}')
161
  ht+=f"""<div class="div_box">
162
+ <pre class="resp1">{outp}</pre>
163
+ <pre class="resp2">{prom}</pre>
164
  </div>"""
165
  with open('index.html','r') as h:
166
  html=h.read()
167
  html = html.replace("$body",f"{ht}")
168
+ html = html.replace("$title",f"{title}")
169
  h.close()
170
  return html
171