Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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}")
|