re-type commited on
Commit
bbdeac4
·
verified ·
1 Parent(s): 563fc0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ except Exception as e:
56
  # Try to load Keras model from Hugging Face Hub
57
  try:
58
  keras_path = hf_hub_download(repo_id=model_repo, filename="best_model.keras", token=hf_token)
59
- kmer_path = hf_hub_download(repo_id=model_repo, filename="kmer_to_index.pkl", token=hf_token)
60
  if os.path.exists(keras_path) and os.path.exists(kmer_path):
61
  keras_model = load_model(keras_path)
62
  with open(kmer_path, "rb") as f:
 
56
  # Try to load Keras model from Hugging Face Hub
57
  try:
58
  keras_path = hf_hub_download(repo_id=model_repo, filename="best_model.keras", token=hf_token)
59
+ kmer_path = hf_hub_download(repo_id=model_repo, filename="kmer_to_index.pkl")
60
  if os.path.exists(keras_path) and os.path.exists(kmer_path):
61
  keras_model = load_model(keras_path)
62
  with open(kmer_path, "rb") as f: