Spaces:
Sleeping
Sleeping
Update pages/Machine learning VS Deep Learning.py
Browse files
pages/Machine learning VS Deep Learning.py
CHANGED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|