C2MV commited on
Commit
0bff8df
·
verified ·
1 Parent(s): 85035ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -149,7 +149,7 @@ def create_prompt(query, contexts):
149
  return prompt_start + current_contexts + prompt_end
150
 
151
  def complete(prompt):
152
- return [f"Hola"]
153
 
154
  def check_image_exists(filepath):
155
  return os.path.exists(filepath)
@@ -190,7 +190,7 @@ def chat_function(message, history):
190
 
191
  # Add the first relevant link under a single "Respuestas relevantes" section
192
  if filtered_links:
193
- full_response += f".\n\nRespuesta:\n" + filtered_links[0]
194
 
195
 
196
  # Now handle the images based on the detected tags
 
149
  return prompt_start + current_contexts + prompt_end
150
 
151
  def complete(prompt):
152
+ return [f"Respuesta:"]
153
 
154
  def check_image_exists(filepath):
155
  return os.path.exists(filepath)
 
190
 
191
  # Add the first relevant link under a single "Respuestas relevantes" section
192
  if filtered_links:
193
+ full_response += filtered_links[0] #f".\n\nRespuesta:\n" + filtered_links[0]
194
 
195
 
196
  # Now handle the images based on the detected tags