acecalisto3 commited on
Commit
203bdbf
·
verified ·
1 Parent(s): 692c512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,7 +64,7 @@ def stream_chat(
64
 
65
  # Start conversation with persona greeting
66
  if not history:
67
- conversation.append(AssistantMessage(content=persona_greeting))
68
 
69
  def setup_logging() -> logging.Logger:
70
  """Set up logging configuration."""
@@ -229,7 +229,7 @@ async def main():
229
  examples=examples,
230
  theme="default"
231
  ).launch()
232
-
233
  # Simple testing framework
234
  def run_tests():
235
  """Run basic tests for the CodeFusion components."""
 
64
 
65
  # Start conversation with persona greeting
66
  if not history:
67
+ history.append(("AI", persona_greeting)) # Assuming history is a list of tuples
68
 
69
  def setup_logging() -> logging.Logger:
70
  """Set up logging configuration."""
 
229
  examples=examples,
230
  theme="default"
231
  ).launch()
232
+ """Main
233
  # Simple testing framework
234
  def run_tests():
235
  """Run basic tests for the CodeFusion components."""