dromerosm commited on
Commit
c80a24d
·
1 Parent(s): 3bdf15b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def text_prompt(request, system_role, page_url, contraseña, temp):
61
 
62
  # clean the response text
63
  response_text = re.sub(r'\s+', ' ', response_text)
64
- response_text = "#### "+ page.title + "\n\n" + response_text.strip()
65
  total_tokens_str = str(total_tokens) + " (${:.2f} USD)".format(total_tokens/1000*0.002)
66
 
67
 
 
61
 
62
  # clean the response text
63
  response_text = re.sub(r'\s+', ' ', response_text)
64
+ response_text = f"#### [{page.title}]({page.url})\n\n{response_text.strip()}"
65
  total_tokens_str = str(total_tokens) + " (${:.2f} USD)".format(total_tokens/1000*0.002)
66
 
67