zelk12 commited on
Commit
b618dbc
·
verified ·
1 Parent(s): d12806e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -37,8 +37,10 @@ used_model = "gemini-2.5-flash-preview-04-17"
37
 
38
  print("Define test response work")
39
  def model_response(message, history):
 
40
  chat = client.chats.create(model=used_model, history=history)
41
  response = chat.send_message(message)
 
42
  return response
43
 
44
  print("Define test1 response work")
 
37
 
38
  print("Define test response work")
39
  def model_response(message, history):
40
+ print(f"\n=========\nUser message\n{message}\n")
41
  chat = client.chats.create(model=used_model, history=history)
42
  response = chat.send_message(message)
43
+ print(f"\nResponse\n{response}=========\n")
44
  return response
45
 
46
  print("Define test1 response work")