ankithpatel commited on
Commit
79ef20f
·
verified ·
1 Parent(s): dee26aa

Update pages/Machine learning VS Deep Learning.py

Browse files
pages/Machine learning VS Deep Learning.py CHANGED
@@ -101,14 +101,12 @@ st.markdown(html_code, unsafe_allow_html=True)
101
 
102
  import streamlit as st
103
 
104
- # Local GIF path
105
- gif_path = r"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)
 
101
 
102
  import streamlit as st
103
 
104
+ # HTML code to insert a GIF
105
+ html_code = """
 
 
 
106
  <div style="text-align: center;">
107
+ <img src=https://indusuni.ac.in/uploads/blogs/iite/Understanding%20the%20Hype%20Around%20Machine%20Learning.gif style="width: 50%; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);">
108
  </div>
109
  """
110
 
111
+ # Render the HTML in Streamlit
112
  st.markdown(html_code, unsafe_allow_html=True)