Update app.py
Browse files
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 |
-
<
|
163 |
-
<
|
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("$
|
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 |
|