Kaylah072001 commited on
Commit
18cc71d
·
verified ·
1 Parent(s): c7853dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ st.title("Stock Trend Predictor: Bullish or Bearish?")
9
  # Load pre-trained model from Hugging Face
10
  @st.cache_resource
11
  def load_model():
12
- model_name = "Kaylah072001/stock_prediction_model" # Replace with your actual model name on Hugging Face
13
  try:
14
  model = AutoModelForImageClassification.from_pretrained(model_name)
15
  feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
 
9
  # Load pre-trained model from Hugging Face
10
  @st.cache_resource
11
  def load_model():
12
+ model_name = "Kaylah072001/stock_prediction_model.h5" # Replace with your actual model name on Hugging Face
13
  try:
14
  model = AutoModelForImageClassification.from_pretrained(model_name)
15
  feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)