Spaces:
Runtime error
Runtime error
Update app.py
Browse files4 unmodified lines567889108 unmodified lines192021222324254 unmodified linesimport spacesfrom transformers import MllamaForConditionalGeneration, AutoProcessor
@spaces.GPU# Load the Llama 3.2 Vision Modeldef load_llama_model(): model_id = "meta-llama/Llama-3.2-11B-Vision"8 unmodified lines
return model, processor
@spaces.GPU# Function to generate predictions for text and imagedef process_input(text, image=None): model, processor = load_llama_model()app.py+1-1