zelk12 commited on
Commit
8c14bcb
·
verified ·
1 Parent(s): 3436dbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ used_model = "gemini-2.5-flash-preview-04-17"
33
 
34
  def model_response(message, history):
35
  chat = client.chats.create(model=used_model, history=history)
36
- return response = chat.send_message(message)
 
37
 
38
  print("Create test response work")
39
  def random_response(message, history):
 
33
 
34
  def model_response(message, history):
35
  chat = client.chats.create(model=used_model, history=history)
36
+ response = chat.send_message(message)
37
+ return response
38
 
39
  print("Create test response work")
40
  def random_response(message, history):