ankithpatel commited on
Commit
3ac1506
·
verified ·
1 Parent(s): e74b1af

Update pages/Machine learning VS Deep Learning.py

Browse files

![Understanding the Hype Around Machine Learning.gif](https://cdn-uploads.huggingface.co/production/uploads/673f7f58125bcd87033d7694/Xr5Qgz_BE0x7SnVxsKzl7.gif)

pages/Machine learning VS Deep Learning.py CHANGED
@@ -95,4 +95,20 @@ html_code = """
95
  st.markdown(css_style, unsafe_allow_html=True)
96
 
97
  # Render the HTML in Streamlit
98
- st.markdown(html_code, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  st.markdown(css_style, unsafe_allow_html=True)
96
 
97
  # Render the HTML in Streamlit
98
+ st.markdown(html_code, unsafe_allow_html=True)
99
+
100
+
101
+
102
+ import streamlit as st
103
+
104
+ # Local GIF path
105
+ gif_path = "C:\Users\ankit\Downloads\Understanding the Hype Around Machine Learning.gif"
106
+
107
+ # Display the GIF
108
+ html_code = f"""
109
+ <div style="text-align: center;">
110
+ <img src="data:image/gif;base64,{st.file_uploader.read().encode('base64').decode()}" alt="Sample GIF" style="width: 50%; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);">
111
+ </div>
112
+ """
113
+
114
+ st.markdown(html_code, unsafe_allow_html=True)