YALCINKAYA commited on
Commit
cffec04
·
1 Parent(s): ed324ed

fix for return value

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def extract_relevant_text(response):
55
  if '<|im_end|>' in response:
56
  # Extract everything before the first <|im_end|>
57
  partial_response = response.split('<|im_end|>')[0].strip()
58
- return f"Partial Response: {partial_response}"
59
 
60
  return "No complete blocks found. Please check the format of the response."
61
 
 
55
  if '<|im_end|>' in response:
56
  # Extract everything before the first <|im_end|>
57
  partial_response = response.split('<|im_end|>')[0].strip()
58
+ return f"{partial_response}"
59
 
60
  return "No complete blocks found. Please check the format of the response."
61