singhn9 commited on
Commit
09c46b2
·
verified ·
1 Parent(s): bfb18ef

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -778,7 +778,7 @@ with tabs[4]:
778
  if not HF_TOKEN:
779
  st.error("HF_TOKEN not detected. Check the Secrets tab.")
780
  else:
781
- API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3-8B-Instruct"
782
  headers = {"Authorization": f"Bearer {HF_TOKEN}"}
783
  prompt = textwrap.dedent(f"""
784
  You are an expert metallurgical process advisor.
 
778
  if not HF_TOKEN:
779
  st.error("HF_TOKEN not detected. Check the Secrets tab.")
780
  else:
781
+ API_URL = "https://router.huggingface.co/hf-inference/models/meta-llama/Llama-3-8B-Instruct"
782
  headers = {"Authorization": f"Bearer {HF_TOKEN}"}
783
  prompt = textwrap.dedent(f"""
784
  You are an expert metallurgical process advisor.