Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ btn = st.button("Predict")
31
  # Create a function to load model
32
  @st.cache(allow_output_mutation=True)
33
  def load_model():
34
- model_path = './model_1_updated' # Update with the correct file name
35
 
36
  # Load the model configuration
37
  config = AutoConfig.from_pretrained(model_path)
 
31
  # Create a function to load model
32
  @st.cache(allow_output_mutation=True)
33
  def load_model():
34
+ model_path = './model_1_updated.pth' # Update with the correct file name
35
 
36
  # Load the model configuration
37
  config = AutoConfig.from_pretrained(model_path)