Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,13 +16,13 @@ def search_fn(query):
|
|
16 |
|
17 |
frame_l=f'<iframe src="{out}" frameborder="0" width="100%" height="2000"></iframe>'
|
18 |
|
19 |
-
with open("
|
20 |
file.writelines(frame_l)
|
21 |
file.close()
|
22 |
|
23 |
#print(file1.read())
|
24 |
print (out)
|
25 |
-
with open("myfile.txt", "r
|
26 |
html_out = file1.read()
|
27 |
|
28 |
return (html_out)
|
|
|
16 |
|
17 |
frame_l=f'<iframe src="{out}" frameborder="0" width="100%" height="2000"></iframe>'
|
18 |
|
19 |
+
with open("myfile.txt", "w") as file:
|
20 |
file.writelines(frame_l)
|
21 |
file.close()
|
22 |
|
23 |
#print(file1.read())
|
24 |
print (out)
|
25 |
+
with open("myfile.txt", "r") as file1:
|
26 |
html_out = file1.read()
|
27 |
|
28 |
return (html_out)
|