NimaKL commited on
Commit
3baa867
·
verified ·
1 Parent(s): 15b3d80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -45,7 +45,10 @@ gatconv_model.load_state_dict(corrected_state_dict)
45
  model_bert = SentenceTransformer("all-mpnet-base-v2")
46
 
47
  # Ensure the DataFrame is loaded properly
48
- df = pd.read_feather("EmbeddedCombined.feather")
 
 
 
49
 
50
  # Generate GNN-based embeddings
51
  with torch.no_grad():
 
45
  model_bert = SentenceTransformer("all-mpnet-base-v2")
46
 
47
  # Ensure the DataFrame is loaded properly
48
+ try:
49
+ df = pd.read_json("combined_data.json.gz", orient='records', lines=True, compression='gzip')
50
+ except Exception as e:
51
+ print(f"Error reading JSON file: {e}")
52
 
53
  # Generate GNN-based embeddings
54
  with torch.no_grad():