AndySAnker commited on
Commit
7e8364a
1 Parent(s): 5f7e2e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,9 +7,9 @@ import streamlit as st
7
 
8
  def get_POMFinder():
9
  # Get file paths
10
- load_files = pkg_resources.resource_listdir(__name__, 'Backend/')
11
- DataBase_path = pkg_resources.resource_filename(__name__, "Backend/"+load_files[0])
12
- POMFinder_path = pkg_resources.resource_filename(__name__, "Backend/"+load_files[1])
13
  # Import the Database
14
  hf_name = h5py.File(DataBase_path, "r")
15
  y = hf_name.get('y')
 
7
 
8
  def get_POMFinder():
9
  # Get file paths
10
+ load_files = "Backend/" #pkg_resources.resource_listdir(__name__, 'Backend/')
11
+ DataBase_path = "Backend/POMFinder_443structures_100Dataset_per_Structure_xPDF_hypercube_sampling_Grmax_Name.h5" #pkg_resources.resource_filename(__name__, "Backend/"+load_files[0])
12
+ POMFinder_path = "Backend/XGBoost_443structures_100PDFperStructure_xPDF_hypercube_sampling_Grmax.model" #pkg_resources.resource_filename(__name__, "Backend/"+load_files[1])
13
  # Import the Database
14
  hf_name = h5py.File(DataBase_path, "r")
15
  y = hf_name.get('y')