Spaces:
Build error
Build error
Update app.py
Browse files8 unmodified lines9101112121314158 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 Face model_name = "Kaylah072001/stock_prediction_model.h5" # Replace with your actual model name on Hugging Face try: model = AutoModelForImageClassification.from_pretrained(model_name) feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)app.py+1-1