recodehive / Scrape-ML

For new data generation Semi-supervised-sequence-learning-Project we have writtern a python script to fetch📊, data from the 💻, imdb website 🌐 and converted into txt files.
https://scrape-ml.streamlit.app/
MIT License
85 stars 116 forks source link

Fixing File Not Found Error indicating that the file similarity.pkl could not be found #184

Closed Harshitmishra001 closed 3 months ago

Harshitmishra001 commented 3 months ago

Related Issue

Fixing is a File Not Found Error indicating that the file similarity.pkl could not be found Issue #183

Description

A error can be seen when running Recode-Hive/Scrape-ML/tree/main/Web_app/pages/2_Movie_Recommendation.py

This error is caused due to a missing similarity.pkl file which is used in this code. The only way to fix this issue is by adding the similarity.pkl file that is needed for this code. After adding this file the error can be fixed.

For fixing steps taken

  1. Added Similiarity.pkl file and corrected its path
  2. While Correcting code realized that path of movies.csv was also wrong so corrected it also
  3. Added Few cases to check if both files are missing and can prompt if they they are missing

Type of PR

Screenshots / videos (if applicable)

Screenshot 2024-06-08 205738 Screenshot 2024-06-08 205750 Screenshot 2024-06-08 205759

Checklist:

Additional context:

[Include any additional information or context that might be helpful for reviewers.]

Harshitmishra001 commented 3 months ago

@sanjay-kv can you check it 😄