Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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 |
|