acecalisto3 commited on
Commit
4357311
·
verified ·
1 Parent(s): d1a9203

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -503,9 +503,9 @@ def chat_app_logic(message, history):
503
  if isinstance(part, str):
504
  response_parts.append(part)
505
  elif isinstance(part, dict) and 'content' in part:
506
- response_parts.append(part['content'])
507
 
508
- response = ''.join(response_parts
509
  # Run the model and get the response (convert generator to string)
510
  prompt=message,
511
  history=history,
 
503
  if isinstance(part, str):
504
  response_parts.append(part)
505
  elif isinstance(part, dict) and 'content' in part:
506
+ response_parts.append(part['content']),
507
 
508
+ response = ''.join(response_parts,
509
  # Run the model and get the response (convert generator to string)
510
  prompt=message,
511
  history=history,