singhn9 commited on
Commit
05e5007
·
verified ·
1 Parent(s): 82eeb8f

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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(" Dataset cleaned globally — all numeric-like values converted safely.")
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://api-inference.huggingface.co/v1/chat/completions"
 
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"