hgdgng commited on
Commit
57cdcfe
1 Parent(s): 3fe812b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
  # Load the large language model (LLM)
5
  try:
6
  print("Loading the language model...")
7
- llm_pipeline = pipeline("text-generation", model="Llama-3.2-11B-Vision-Instruct") # You can use a different model here
8
  print("Model loaded successfully!")
9
  except Exception as e:
10
  print(f"Error loading model: {e}")
 
4
  # Load the large language model (LLM)
5
  try:
6
  print("Loading the language model...")
7
+ llm_pipeline = pipeline("text-generation", model = AutoModelForPreTraining.from_pretrained("meta-llama/Llama-3.2-11B-Vision-Instruct") # You can use a different model here
8
  print("Model loaded successfully!")
9
  except Exception as e:
10
  print(f"Error loading model: {e}")