Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

Harshitmishra001
Copy link
Contributor

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

  • [✅ ] Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): _______________

Screenshots / videos (if applicable)

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

Checklist:

  • [✅ ] I have performed a self-review of my code
  • [ ✅] I have read and followed the Contribution Guidelines.
  • [ ✅] I have tested the changes thoroughly before submitting this pull request.
  • [✅ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • [✅ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:

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

@Harshitmishra001 Harshitmishra001 changed the title Fixing is a File Not Found Error indicating that the file similarity.pkl could not be found Fixing File Not Found Error indicating that the file similarity.pkl could not be found Jun 8, 2024
@Harshitmishra001
Copy link
Contributor Author

@sanjay-kv can you check it 😄

@sanjay-kv sanjay-kv merged commit 82a1a01 into recodehive:main Jun 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants