ankithpatel commited on
Commit
ee0d754
·
verified ·
1 Parent(s): 093d077

Update pages/Machine learning VS Deep Learning.py

Browse files
pages/Machine learning VS Deep Learning.py CHANGED
@@ -1,26 +1,20 @@
1
  import streamlit as st
2
 
3
- # HTML code for a differences box
4
  html_code = """
5
  <div style="
6
- border: 2px solid #4CAF50;
 
 
7
  border-radius: 10px;
8
- padding: 15px;
9
- margin: 10px 0;
10
- background-color: #f9f9f9;
11
- color: #333;
12
- font-family: Arial, sans-serif;
13
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
14
  ">
15
- <h3 style="text-align: center; color: #4CAF50;">Differences Between Model A and Model B</h3>
16
- <ul style="list-style-type: square; padding-left: 20px;">
17
- <li><b>Model A:</b> Faster inference time, suitable for low-latency tasks.</li>
18
- <li><b>Model B:</b> Higher accuracy on complex datasets.</li>
19
- <li><b>Model A:</b> Requires less computational resources.</li>
20
- <li><b>Model B:</b> Supports advanced NLP tasks like summarization and translation.</li>
21
- </ul>
22
  </div>
23
  """
24
 
25
- # Render the HTML in Streamlit
26
  st.markdown(html_code, unsafe_allow_html=True)
 
1
  import streamlit as st
2
 
 
3
  html_code = """
4
  <div style="
5
+ border: 2px solid black;
6
+ padding: 20px;
7
+ margin: 20px;
8
  border-radius: 10px;
9
+ background-color: #f0f0f0;
10
+ width: 300px;
11
+ height: 150px;
12
+ text-align: center;
13
+ box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
 
14
  ">
15
+ <h3 style="color: #333;">This is a Box</h3>
16
+ <p style="color: #555;">You can customize the size, color, and content of this box.</p>
 
 
 
 
 
17
  </div>
18
  """
19
 
 
20
  st.markdown(html_code, unsafe_allow_html=True)