MWilinski commited on
Commit
a7178fa
·
1 Parent(s): 963efd5
Files changed (1) hide show
  1. api/question_answering/mocks.py +0 -2
api/question_answering/mocks.py CHANGED
@@ -23,8 +23,6 @@ class MockLocalBinaryModel(LLM):
23
  def __init__(self, model_id: str = None):
24
  super().__init__()
25
  self.model_path = f'bot/question_answering/{model_id}'
26
- if not os.path.exists(self.model_path):
27
- raise ValueError(f'{self.model_path} does not exist')
28
 
29
 
30
  def _call(self, prompt: str, stop: Optional[List[str]] = None) -> str:
 
23
  def __init__(self, model_id: str = None):
24
  super().__init__()
25
  self.model_path = f'bot/question_answering/{model_id}'
 
 
26
 
27
 
28
  def _call(self, prompt: str, stop: Optional[List[str]] = None) -> str: