freshbash commited on
Commit
d20deed
·
1 Parent(s): 2021aca

changed model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def respond(
18
  print("Response generated!")
19
 
20
  # Split by "Answer:" from the right and get the last part
21
- response = output.rsplit("Answer: ", 1)[-1]
22
 
23
  return response
24
 
 
18
  print("Response generated!")
19
 
20
  # Split by "Answer:" from the right and get the last part
21
+ response = output.rsplit("Answer:\n", 1)[-1]
22
 
23
  return response
24