Spaces:
Sleeping
Sleeping
Update streamlit_app.py
Browse files- streamlit_app.py +30 -18
streamlit_app.py
CHANGED
|
@@ -416,26 +416,38 @@ def main():
|
|
| 416 |
<p style="text-align: center; color: #6B7280; margin-bottom: 1.5rem;">
|
| 417 |
Our AI detection system uses advanced machine learning to analyze text patterns and linguistic features.
|
| 418 |
</p>
|
| 419 |
-
|
| 420 |
-
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem;">
|
| 421 |
-
<div style="text-align: center; padding: 1rem;">
|
| 422 |
-
<div style="font-size: 2rem; margin-bottom: 0.5rem;">π</div>
|
| 423 |
-
<strong>1. Text Analysis</strong><br>
|
| 424 |
-
<small style="color: #6B7280;">We preprocess and analyze your text</small>
|
| 425 |
-
</div>
|
| 426 |
-
<div style="text-align: center; padding: 1rem;">
|
| 427 |
-
<div style="font-size: 2rem; margin-bottom: 0.5rem;">π€</div>
|
| 428 |
-
<strong>2. AI Processing</strong><br>
|
| 429 |
-
<small style="color: #6B7280;">Our model evaluates linguistic patterns</small>
|
| 430 |
-
</div>
|
| 431 |
-
<div style="text-align: center; padding: 1rem;">
|
| 432 |
-
<div style="font-size: 2rem; margin-bottom: 0.5rem;">π</div>
|
| 433 |
-
<strong>3. Results</strong><br>
|
| 434 |
-
<small style="color: #6B7280;">Get accurate predictions with confidence scores</small>
|
| 435 |
-
</div>
|
| 436 |
-
</div>
|
| 437 |
</div>
|
| 438 |
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 439 |
|
| 440 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 441 |
|
|
|
|
| 416 |
<p style="text-align: center; color: #6B7280; margin-bottom: 1.5rem;">
|
| 417 |
Our AI detection system uses advanced machine learning to analyze text patterns and linguistic features.
|
| 418 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 419 |
</div>
|
| 420 |
""", unsafe_allow_html=True)
|
| 421 |
+
|
| 422 |
+
# Use Streamlit columns instead of HTML grid for better compatibility
|
| 423 |
+
col1, col2, col3 = st.columns(3)
|
| 424 |
+
|
| 425 |
+
with col1:
|
| 426 |
+
st.markdown("""
|
| 427 |
+
<div style="text-align: center; padding: 1rem;">
|
| 428 |
+
<div style="font-size: 2rem; margin-bottom: 0.5rem;">π</div>
|
| 429 |
+
<strong>1. Text Analysis</strong><br>
|
| 430 |
+
<small style="color: #6B7280;">We preprocess and analyze your text</small>
|
| 431 |
+
</div>
|
| 432 |
+
""", unsafe_allow_html=True)
|
| 433 |
+
|
| 434 |
+
with col2:
|
| 435 |
+
st.markdown("""
|
| 436 |
+
<div style="text-align: center; padding: 1rem;">
|
| 437 |
+
<div style="font-size: 2rem; margin-bottom: 0.5rem;">π€</div>
|
| 438 |
+
<strong>2. AI Processing</strong><br>
|
| 439 |
+
<small style="color: #6B7280;">Our model evaluates linguistic patterns</small>
|
| 440 |
+
</div>
|
| 441 |
+
""", unsafe_allow_html=True)
|
| 442 |
+
|
| 443 |
+
with col3:
|
| 444 |
+
st.markdown("""
|
| 445 |
+
<div style="text-align: center; padding: 1rem;">
|
| 446 |
+
<div style="font-size: 2rem; margin-bottom: 0.5rem;">π</div>
|
| 447 |
+
<strong>3. Results</strong><br>
|
| 448 |
+
<small style="color: #6B7280;">Get accurate predictions with confidence scores</small>
|
| 449 |
+
</div>
|
| 450 |
+
""", unsafe_allow_html=True)
|
| 451 |
|
| 452 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 453 |
|