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

chore: reconfig #1

Merged
merged 5 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI/CD
on:
push:
branches:
- master
- try

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion food_recommendation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import numpy as np
import pandas as pd
import seaborn as sns
import os
from metaflow import FlowSpec, Parameter, step
from sentence_transformers import SentenceTransformer
from sklearn.metrics.pairwise import cosine_similarity
Expand All @@ -12,7 +13,7 @@ class FoodRecommendationPipeline(FlowSpec):
# Define parameters if needed
DATA_FILE = Parameter(
"data_file",
"https://raw.githubusercontent.com/Swifty-The-Delivery-Ecosystem/Food-Recommendation/main/indian_food.csv",
"https://raw.githubusercontent.com/Swifty-The-Delivery-Ecosystem/Food-Recommendation/master/indian_food.csv",
help="Path to the food data CSV file",
)

Expand Down
Binary file added recipe_embeddings.npy
Binary file not shown.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pandas
scikit-learn
sentence-transformers
uvicorn
seaborn
matplotlib
Binary file added similarity_matrix.npy
Binary file not shown.
Loading