Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def askme(symptoms, question):
|
|
35 |
end_idx = response_text.find("<|im_end|>", start_idx)
|
36 |
assistant_response = response_text[start_idx + len("<|im_start|>assistant"):end_idx]
|
37 |
|
38 |
-
return assistant_response.split(". ")[0]
|
39 |
|
40 |
|
41 |
|
|
|
35 |
end_idx = response_text.find("<|im_end|>", start_idx)
|
36 |
assistant_response = response_text[start_idx + len("<|im_start|>assistant"):end_idx]
|
37 |
|
38 |
+
return assistant_response.split(". ")[0]
|
39 |
|
40 |
|
41 |
|