mouadenna commited on
Commit
4b730dd
·
verified ·
1 Parent(s): 1c6a810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,6 +34,7 @@ tokenizer = AutoTokenizer.from_pretrained("medalpaca/medalpaca-7b")
34
 
35
  #load the first interface
36
 
 
37
 
38
  def fn(*args):
39
  all_symptoms = [symptom for symptom_list in args for symptom in symptom_list]
@@ -87,7 +88,6 @@ def predict(message, history):
87
  return tokenizer.decode(output_tokens[0], skip_special_tokens=True).replace(prompt,"")
88
 
89
 
90
- loaded_rf = joblib.load("model_joblib")
91
  Fmessage="Hi, How can I help you"
92
 
93
 
 
34
 
35
  #load the first interface
36
 
37
+ loaded_rf = joblib.load("model_joblib")
38
 
39
  def fn(*args):
40
  all_symptoms = [symptom for symptom_list in args for symptom in symptom_list]
 
88
  return tokenizer.decode(output_tokens[0], skip_special_tokens=True).replace(prompt,"")
89
 
90
 
 
91
  Fmessage="Hi, How can I help you"
92
 
93