Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
34 |
return out
|
35 |
|
36 |
|
@@ -38,7 +38,10 @@ def first():
|
|
38 |
out = '''<h1>Loading'''
|
39 |
return out
|
40 |
|
41 |
-
def test(
|
|
|
|
|
|
|
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{
|