Daniel00611 commited on
Commit
6a852ed
·
verified ·
1 Parent(s): 2921510

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def respond(message, history: list[tuple[str, str]], system_message, max_tokens,
106
  elif event.type == "response.completed":
107
  break
108
 
109
- citations = extract_unique_citations(response)
110
  response = response + "\nFuentes: " + citations
111
  yield response
112
 
 
106
  elif event.type == "response.completed":
107
  break
108
 
109
+ citations = extract_unique_citations_paragraph(response)
110
  response = response + "\nFuentes: " + citations
111
  yield response
112