clarissah commited on
Commit
d1fe01a
·
verified ·
1 Parent(s): 41426b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import random
3
  from huggingface_hub import InferenceClient
4
 
5
- client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
6
  # To change the LLM ^
7
 
8
  def respond(message, history):
@@ -14,7 +14,8 @@ def respond(message, history):
14
 
15
  messages.append({"role": "user", "content" : message})
16
 
17
- response = client.chat_completion(messages, max_tokens = 100
 
18
  # to change the length
19
  )
20
 
 
2
  import random
3
  from huggingface_hub import InferenceClient
4
 
5
+ client = InferenceClient("google/gemma-3-27b-it")
6
  # To change the LLM ^
7
 
8
  def respond(message, history):
 
14
 
15
  messages.append({"role": "user", "content" : message})
16
 
17
+ response = client.chat_completion(messages,
18
+ max_tokens = 100
19
  # to change the length
20
  )
21