Update app.py
Browse files
app.py
CHANGED
@@ -118,8 +118,9 @@ def display_images_from_html(html_file):
|
|
118 |
for img in images:
|
119 |
src = img.get('src')
|
120 |
if src and src.startswith('http'):
|
121 |
-
st.image(src, use_column_width=True)
|
122 |
-
|
|
|
123 |
# New function to extract and display videos from HTML
|
124 |
def display_videos_from_html(html_file):
|
125 |
with open(html_file, 'r', encoding='utf-8') as file:
|
|
|
118 |
for img in images:
|
119 |
src = img.get('src')
|
120 |
if src and src.startswith('http'):
|
121 |
+
#st.image(src, use_column_width=True)
|
122 |
+
st.image(src, use_container_width=True)
|
123 |
+
|
124 |
# New function to extract and display videos from HTML
|
125 |
def display_videos_from_html(html_file):
|
126 |
with open(html_file, 'r', encoding='utf-8') as file:
|