Spaces:
Build error
Build error
Update app.py
Browse files8 unmodified lines91011121314158 unmodified lines# Load pre-trained model from Hugging Face@st.cache_resourcedef load_model():model_name = "Kaylah072001/stock_prediction_model" # Replace with your actual model name on Hugging Facetry:model = AutoModelForImageClassification.from_pretrained(model_name)feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)8 unmodified lines91011121314158 unmodified lines# Load pre-trained model from Hugging Face@st.cache_resourcedef load_model():model_name = "Kaylah072001/stock_prediction_model.h5" # Replace with your actual model name on Hugging Facetry:model = AutoModelForImageClassification.from_pretrained(model_name)feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
app.py+1-1