ruslanmv commited on
Commit
510db94
·
verified ·
1 Parent(s): a532c03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ def askme(symptoms, question):
33
  response_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0].strip()
34
 
35
  # Extract only the assistant's response
36
- assistant_response = response_text.split("<|im_start|>assistant")[-1].strip()
37
- return assistant_response
38
 
39
 
40
 
 
33
  response_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0].strip()
34
 
35
  # Extract only the assistant's response
36
+ #assistant_response = response_text.split("<|im_start|>assistant")[-1].strip()
37
+ return response_text
38
 
39
 
40