Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def search_fn(query):
|
|
| 15 |
out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
|
| 16 |
out = out[0]
|
| 17 |
|
| 18 |
-
frame_l=f'<div><a href="{out}">{out}</a><
|
| 19 |
|
| 20 |
file.writelines(frame_l)
|
| 21 |
|
|
@@ -37,7 +37,10 @@ def test(inp):
|
|
| 37 |
with open("myfile.txt", "r") as file1:
|
| 38 |
html_out = file1.read()
|
| 39 |
style = '''
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
| 41 |
.grid-mee {
|
| 42 |
display: flex;
|
| 43 |
flex-direction: row;
|
|
|
|
| 15 |
out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
|
| 16 |
out = out[0]
|
| 17 |
|
| 18 |
+
frame_l=f'<div class="container-mee"><a class="put-on-top" href="{out}">{out}</a><iframe class="responsive-iframe-mee" src="{out}" frameborder="3"></iframe></div>'
|
| 19 |
|
| 20 |
file.writelines(frame_l)
|
| 21 |
|
|
|
|
| 37 |
with open("myfile.txt", "r") as file1:
|
| 38 |
html_out = file1.read()
|
| 39 |
style = '''
|
| 40 |
+
.put-on-top{
|
| 41 |
+
background: red;
|
| 42 |
+
z-index: 999;
|
| 43 |
+
}
|
| 44 |
.grid-mee {
|
| 45 |
display: flex;
|
| 46 |
flex-direction: row;
|