hqasmei commited on
Commit
aadb943
1 Parent(s): f31d3b0

Renamed files

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,8 +9,8 @@ import gradio as gr
9
  from huggingface_hub import from_pretrained_keras
10
  from datasets import load_dataset
11
 
12
- book_data_load = load_dataset("hqasmei/ml-capstone-project-dataset", data_files="book_data.csv")
13
- filtered_data_load = load_dataset("hqasmei/ml-capstone-project-dataset", data_files="filtered_data.csv")
14
 
15
  book_data_arr = []
16
  filtered_data_arr = []
@@ -42,7 +42,7 @@ num_books = len(book_encoded2book)
42
  filtered_df["rating"] = filtered_df["rating"].values.astype(np.float32)
43
 
44
  # Load model
45
- model = from_pretrained_keras('hqasmei/ml-model')
46
 
47
 
48
  def update_user(id):
 
9
  from huggingface_hub import from_pretrained_keras
10
  from datasets import load_dataset
11
 
12
+ book_data_load = load_dataset("hqasmei/collaborative-filtering-dataset", data_files="book_data.csv")
13
+ filtered_data_load = load_dataset("hqasmei/collaborative-filtering-dataset", data_files="filtered_data.csv")
14
 
15
  book_data_arr = []
16
  filtered_data_arr = []
 
42
  filtered_df["rating"] = filtered_df["rating"].values.astype(np.float32)
43
 
44
  # Load model
45
+ model = from_pretrained_keras('hqasmei/collaborative-filtering-model')
46
 
47
 
48
  def update_user(id):