zelk12 commited on
Commit
9b6c718
·
verified ·
1 Parent(s): ef02466

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -73,6 +73,8 @@ def stream_gemini_response(user_message: str, messages: list) -> Iterator[list]:
73
  # Format chat history for Gemini
74
  chat_history = format_chat_history(messages)
75
 
 
 
76
  # Initialize Gemini chat
77
  print("Chat parameter")
78
  chat = model.start_chat(history=chat_history)
 
73
  # Format chat history for Gemini
74
  chat_history = format_chat_history(messages)
75
 
76
+ print(f"hist {chat_history}")
77
+
78
  # Initialize Gemini chat
79
  print("Chat parameter")
80
  chat = model.start_chat(history=chat_history)