Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -2
src/streamlit_app.py
CHANGED
|
@@ -456,7 +456,7 @@ with tabs[4]:
|
|
| 456 |
return df_clean
|
| 457 |
|
| 458 |
df = clean_entire_df(df)
|
| 459 |
-
st.caption("
|
| 460 |
|
| 461 |
# --- Use Case Selection ---
|
| 462 |
use_case = st.selectbox(
|
|
@@ -695,7 +695,8 @@ with tabs[4]:
|
|
| 695 |
if not HF_TOKEN:
|
| 696 |
st.error("HF_TOKEN not detected in environment or secrets.toml.")
|
| 697 |
else:
|
| 698 |
-
API_URL = "https://
|
|
|
|
| 699 |
headers = {
|
| 700 |
"Authorization": f"Bearer {HF_TOKEN}",
|
| 701 |
"Content-Type": "application/json"
|
|
|
|
| 456 |
return df_clean
|
| 457 |
|
| 458 |
df = clean_entire_df(df)
|
| 459 |
+
st.caption(" Dataset cleaned globally — all numeric-like values converted safely.")
|
| 460 |
|
| 461 |
# --- Use Case Selection ---
|
| 462 |
use_case = st.selectbox(
|
|
|
|
| 695 |
if not HF_TOKEN:
|
| 696 |
st.error("HF_TOKEN not detected in environment or secrets.toml.")
|
| 697 |
else:
|
| 698 |
+
API_URL = "https://router.huggingface.co/hf-inference/v1/chat/completions"
|
| 699 |
+
|
| 700 |
headers = {
|
| 701 |
"Authorization": f"Bearer {HF_TOKEN}",
|
| 702 |
"Content-Type": "application/json"
|