Update app.py
Browse files
app.py
CHANGED
|
@@ -108,18 +108,19 @@ with gr.Blocks(
|
|
| 108 |
margin: 0 auto !important;
|
| 109 |
text-align: center !important;
|
| 110 |
padding: 20px !important;
|
| 111 |
-
border: 1px solid #ccc !important; /* Remove this line after confirming centering */
|
| 112 |
}
|
| 113 |
#title h1 {
|
| 114 |
-
font-size: 5em !important;
|
| 115 |
margin: 0 auto 0.2em !important;
|
| 116 |
text-align: center !important;
|
|
|
|
| 117 |
}
|
| 118 |
#title p {
|
| 119 |
-
font-size:
|
| 120 |
margin: 0 auto !important;
|
| 121 |
text-align: center !important;
|
| 122 |
max-width: 800px !important;
|
|
|
|
| 123 |
}
|
| 124 |
"""
|
| 125 |
) as iface:
|
|
@@ -128,9 +129,11 @@ with gr.Blocks(
|
|
| 128 |
gr.Markdown(
|
| 129 |
"""
|
| 130 |
<div style="width: 100%; margin: 0 auto; text-align: center; padding: 20px;">
|
| 131 |
-
<h1 style="font-size: 5em
|
| 132 |
-
<p style="font-size:
|
| 133 |
-
|
|
|
|
|
|
|
| 134 |
</div>
|
| 135 |
""",
|
| 136 |
elem_id="title"
|
|
|
|
| 108 |
margin: 0 auto !important;
|
| 109 |
text-align: center !important;
|
| 110 |
padding: 20px !important;
|
|
|
|
| 111 |
}
|
| 112 |
#title h1 {
|
| 113 |
+
font-size: 3.5em !important;
|
| 114 |
margin: 0 auto 0.2em !important;
|
| 115 |
text-align: center !important;
|
| 116 |
+
color: #0000FF !important;
|
| 117 |
}
|
| 118 |
#title p {
|
| 119 |
+
font-size: 1.5em !important;
|
| 120 |
margin: 0 auto !important;
|
| 121 |
text-align: center !important;
|
| 122 |
max-width: 800px !important;
|
| 123 |
+
color: #0000FF !important;
|
| 124 |
}
|
| 125 |
"""
|
| 126 |
) as iface:
|
|
|
|
| 129 |
gr.Markdown(
|
| 130 |
"""
|
| 131 |
<div style="width: 100%; margin: 0 auto; text-align: center; padding: 20px;">
|
| 132 |
+
<h1 style="font-size: 3.5em; margin: 0 auto 0.2em; text-align: center; color: #0000FF;">ScanCart 🧾</h1>
|
| 133 |
+
<p style="font-size: 1.5em; margin: 0 auto; text-align: center; max-width: 800px; color: #0000FF;">
|
| 134 |
+
Upload images of your grocery items, and ScanCart will identify them, calculate the total cost, and check if it fits within your budget.<br>
|
| 135 |
+
It's like having a smart shopping <strong>assistant</strong>! 🛒📸
|
| 136 |
+
</p>
|
| 137 |
</div>
|
| 138 |
""",
|
| 139 |
elem_id="title"
|