Spaces:
Sleeping
Sleeping
lovodkin93
commited on
Commit
•
a3aa13c
1
Parent(s):
34daa1e
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
def show_html_in_iframe(page_idx):
|
6 |
# Construct the URL using the selected index
|
7 |
url = f'https://wmtis.s3.eu-west-1.amazonaws.com/test/{html_files[page_idx]}'
|
8 |
-
iframe_html = f'<iframe src="{url}" width="100%" height="
|
9 |
return iframe_html
|
10 |
|
11 |
# Path to the directory containing HTML files
|
|
|
5 |
def show_html_in_iframe(page_idx):
|
6 |
# Construct the URL using the selected index
|
7 |
url = f'https://wmtis.s3.eu-west-1.amazonaws.com/test/{html_files[page_idx]}'
|
8 |
+
iframe_html = f'<iframe src="{url}" width="100%" height="1000"></iframe>'
|
9 |
return iframe_html
|
10 |
|
11 |
# Path to the directory containing HTML files
|