pentarosarium commited on
Commit
2d273f1
·
1 Parent(s): 0a36022

progress more 53

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,7 +39,7 @@ def init_langchain_llm():
39
  st.error("Hugging Face token not found in Streamlit secrets. Please add it to access the model.")
40
  st.stop()
41
 
42
- model_id = "meta-llama/Llama-2-7b-chat-hf" # or "meta-llama/Meta-Llama-3.1-8B-Instruct" if you have access
43
 
44
  try:
45
  tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
@@ -439,7 +439,7 @@ def create_output_file(df, uploaded_file, analysis_df):
439
  return output
440
 
441
  def main():
442
- st.title("... приступим к анализу... версия 52")
443
 
444
  # Initialize session state
445
  if 'processed_df' not in st.session_state:
 
39
  st.error("Hugging Face token not found in Streamlit secrets. Please add it to access the model.")
40
  st.stop()
41
 
42
+ model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
43
 
44
  try:
45
  tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
 
439
  return output
440
 
441
  def main():
442
+ st.title("... приступим к анализу... версия 53")
443
 
444
  # Initialize session state
445
  if 'processed_df' not in st.session_state: