Dhahlan2000 commited on
Commit
8e56365
·
verified ·
1 Parent(s): b7124d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def respond(
53
  response = ""
54
 
55
  # Stream response tokens from the chat completion API
56
- for message_chunk in client.chat_completion(
57
  model = "gemma-3-27b-it",
58
  messages=messages,
59
  max_tokens=max_tokens,
 
53
  response = ""
54
 
55
  # Stream response tokens from the chat completion API
56
+ for message_chunk in client.chat.completions.create(
57
  model = "gemma-3-27b-it",
58
  messages=messages,
59
  max_tokens=max_tokens,