Spaces:
Running
Running
Jin Zhu
commited on
Commit
·
a14deab
1
Parent(s):
f9f0de2
Update app.py
Browse files- src/app.py +3 -3
src/app.py
CHANGED
|
@@ -250,7 +250,7 @@ if not model_loaded:
|
|
| 250 |
# --- Two columns: Input text & button | Result displays ---
|
| 251 |
text_input = st.text_area(
|
| 252 |
label="📝 Input Text to be Detected",
|
| 253 |
-
placeholder="Paste your text
|
| 254 |
height=240,
|
| 255 |
label_visibility="hidden",
|
| 256 |
)
|
|
@@ -397,10 +397,10 @@ if detect_clicked:
|
|
| 397 |
""",
|
| 398 |
unsafe_allow_html=True
|
| 399 |
)
|
| 400 |
-
with st.expander("📋
|
| 401 |
st.markdown(
|
| 402 |
"""
|
| 403 |
-
+
|
| 404 |
- $p$-value: Lower $p$-value (closer to 0) indicates text is **more likely AI-generated**; Higher $p$-value (closer to 1) indicates text is **more likely human-written**.
|
| 405 |
- Significance Level (α): a threshold set by the user to determine the sensitivity of the detection. Lower α means stricter criteria for claiming the text is AI-generated.
|
| 406 |
|
|
|
|
| 250 |
# --- Two columns: Input text & button | Result displays ---
|
| 251 |
text_input = st.text_area(
|
| 252 |
label="📝 Input Text to be Detected",
|
| 253 |
+
placeholder="Paste your text here",
|
| 254 |
height=240,
|
| 255 |
label_visibility="hidden",
|
| 256 |
)
|
|
|
|
| 397 |
""",
|
| 398 |
unsafe_allow_html=True
|
| 399 |
)
|
| 400 |
+
with st.expander("📋 Interpretation and Suggestions"):
|
| 401 |
st.markdown(
|
| 402 |
"""
|
| 403 |
+
+ Interpretation:
|
| 404 |
- $p$-value: Lower $p$-value (closer to 0) indicates text is **more likely AI-generated**; Higher $p$-value (closer to 1) indicates text is **more likely human-written**.
|
| 405 |
- Significance Level (α): a threshold set by the user to determine the sensitivity of the detection. Lower α means stricter criteria for claiming the text is AI-generated.
|
| 406 |
|