Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
chris1nexus
commited on
Commit
·
4f460e9
1
Parent(s):
626d70f
Update default category
Browse files- src/streamlit_app.py +1 -12
src/streamlit_app.py
CHANGED
|
@@ -223,7 +223,7 @@ st.markdown(
|
|
| 223 |
)
|
| 224 |
|
| 225 |
st.title("reCAPTCHA‑style 3×3 Demo — Proof of Concept")
|
| 226 |
-
st.caption("Generate a challenge from TSV, then solve manually or with a model adapter.")
|
| 227 |
|
| 228 |
# Session state
|
| 229 |
for key, default in {
|
|
@@ -512,14 +512,3 @@ if st.session_state.challenge_images_original:
|
|
| 512 |
else:
|
| 513 |
st.info("Upload a TSV on the left and click 'Generate new challenge' to begin.")
|
| 514 |
|
| 515 |
-
|
| 516 |
-
# -----------------------------
|
| 517 |
-
# Integrations Guide (trimmed)
|
| 518 |
-
# -----------------------------
|
| 519 |
-
with st.expander("Integrations Guide: Wiring real models", expanded=False):
|
| 520 |
-
st.markdown(
|
| 521 |
-
"""
|
| 522 |
-
Replace the mock call functions with real SDK calls (OpenAI/Anthropic/HF).
|
| 523 |
-
For CLIP zero‑shot, wire a predict_fn that returns (label, score) per image.
|
| 524 |
-
"""
|
| 525 |
-
)
|
|
|
|
| 223 |
)
|
| 224 |
|
| 225 |
st.title("reCAPTCHA‑style 3×3 Demo — Proof of Concept")
|
| 226 |
+
st.caption("Generate a challenge from TSV, then solve manually or with a model adapter\nClick run solver below to see the result for either choice 'Original' or 'Modified'. \n IT MAY TAKE ABOUT 10-20 SECONDS TO SOLVE THE CHALLENGE THROUGH API CALLS, VARIES BASED ON LLM CHOICE")
|
| 227 |
|
| 228 |
# Session state
|
| 229 |
for key, default in {
|
|
|
|
| 512 |
else:
|
| 513 |
st.info("Upload a TSV on the left and click 'Generate new challenge' to begin.")
|
| 514 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|