Ali2206 commited on
Commit
4791a42
·
verified ·
1 Parent(s): 495adfc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ question_examples = [
102
  ['A 30-year-old patient is taking Prozac to treat their depression. They were recently diagnosed with WHIM syndrome and require a treatment for that condition as well. Is Xolremdi suitable for this patient, considering contraindications?'],
103
  ]
104
 
105
- def safe_load_embeddings(filepath: str) -> Any:
106
  """Safely load embeddings with proper weights_only handling"""
107
  try:
108
  # First try with weights_only=True (secure mode)
 
102
  ['A 30-year-old patient is taking Prozac to treat their depression. They were recently diagnosed with WHIM syndrome and require a treatment for that condition as well. Is Xolremdi suitable for this patient, considering contraindications?'],
103
  ]
104
 
105
+ def safe_load_embeddings(filepath: str) -> any:
106
  """Safely load embeddings with proper weights_only handling"""
107
  try:
108
  # First try with weights_only=True (secure mode)