Omnibus commited on
Commit
3d69e0b
1 Parent(s): a3f35df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def search_fn(query):
30
 
31
  with open("myfile.txt", "r") as file1:
32
  html_out = file1.read()
33
- out = test(html_out)
34
  return out
35
 
36
 
@@ -38,7 +38,10 @@ def first():
38
  out = '''<h1>Loading'''
39
  return out
40
 
41
- def test(inp):
 
 
 
42
 
43
  style = '''
44
  .put-on-top{
 
30
 
31
  with open("myfile.txt", "r") as file1:
32
  html_out = file1.read()
33
+ out = format_t(html_out)
34
  return out
35
 
36
 
 
38
  out = '''<h1>Loading'''
39
  return out
40
 
41
+ def test(out):
42
+ return format_t(f'<div class="container-mee"><div class="put-on-top"><a target="_blank" href="{out}">{out}</a></div><iframe class="responsive-iframe-mee" src="{out}" frameborder="3"></iframe></div>')
43
+
44
+ def format_t(inp):
45
 
46
  style = '''
47
  .put-on-top{