acecalisto3 commited on
Commit
80b94b9
·
verified ·
1 Parent(s): a3defef

Update appaaa.py

Browse files
Files changed (1) hide show
  1. appaaa.py +2 -2
appaaa.py CHANGED
@@ -178,9 +178,9 @@ async def handle_chat(query: dict):
178
 
179
  def generate_ai_response(message, errors=None):
180
  if "error" in message.lower() and errors:
181
- return f"Your translation failed with: {', '.join(errors[:3])}"
182
  elif "support" in message.lower():
183
- return f"Supported frameworks: {', '.join(FRAMEWORKS.keys())}"
184
  return "Ask about translation errors or framework support"
185
 
186
  # Translation endpoint to handle file uploads and translations
 
178
 
179
  def generate_ai_response(message, errors=None):
180
  if "error" in message.lower() and errors:
181
+ return """f"Your translation failed with: {', '.join(errors[:3])}"""
182
  elif "support" in message.lower():
183
+ return """f"Supported frameworks: {', '.join(FRAMEWORKS.keys())}"""
184
  return "Ask about translation errors or framework support"
185
 
186
  # Translation endpoint to handle file uploads and translations