Sadmo commited on
Commit
26e7ca3
·
verified ·
1 Parent(s): 89d7d3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -3,7 +3,6 @@ import random
3
  from huggingface_hub import InferenceClient
4
 
5
  client = InferenceClient("google/gemma-3-27b-it")
6
- #Deepseek was more
7
  # Change the model
8
 
9
 
@@ -15,7 +14,7 @@ def respond(message, history):
15
 
16
  response = client.chat_completion(
17
  messages,
18
- max_tokens=100 # change the length of message
19
  )
20
 
21
  return response['choices'][0]['message']['content'].strip()
 
3
  from huggingface_hub import InferenceClient
4
 
5
  client = InferenceClient("google/gemma-3-27b-it")
 
6
  # Change the model
7
 
8
 
 
14
 
15
  response = client.chat_completion(
16
  messages,
17
+ max_tokens=200 # change the length of message
18
  )
19
 
20
  return response['choices'][0]['message']['content'].strip()