odaly commited on
Commit
3fcc4ca
·
verified ·
1 Parent(s): 9366ad3

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ else:
13
  st.write(f"Hugging Face API token found: {hf_token[:4]}...") # Debug statement, only showing the first 4 characters for security
14
 
15
  # Initialize the model and tokenizer using Hugging Face pipeline
16
- model_id = "meta-llama/Meta-Llama-3.1-70B"
17
  pipeline = transformers.pipeline("text-generation", model=model_id, use_auth_token=hf_token)
18
 
19
  def generate_response(prompt):
 
13
  st.write(f"Hugging Face API token found: {hf_token[:4]}...") # Debug statement, only showing the first 4 characters for security
14
 
15
  # Initialize the model and tokenizer using Hugging Face pipeline
16
+ model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
17
  pipeline = transformers.pipeline("text-generation", model=model_id, use_auth_token=hf_token)
18
 
19
  def generate_response(prompt):