goblingeorge commited on
Commit
7d410bb
·
verified ·
1 Parent(s): a94344e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -4,15 +4,15 @@ import litellm
4
 
5
  DESCRIPTION = '''
6
  <div>
7
- <h1 style="text-align: center;">TAIDE/Gemma-3-TAIDE-12b-Chat</h1>
8
- <p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/taide/Gemma-3-TAIDE-12b-Chat"><b>Gemma-3-TAIDE-12b-Chat</b></a>. Gemma-3-TAIDE-12b-Chat is the new open LLM and comes in one sizes: 8b. Feel free to play with it, or duplicate to run privately!</p>
9
  </div>
10
  '''
11
 
12
  LICENSE = """
13
  <p/>
14
  ---
15
- Built with Gemma-3-TAIDE-12b-Chat
16
  """
17
 
18
  css = """
@@ -44,7 +44,7 @@ def chat(message: str,
44
  messages.append({"role": "user", "content": message})
45
 
46
  response = litellm.completion(
47
- model="openai/Gemma-3-TAIDE-12b-Chat", # tells litellm to call the model via the Responses API
48
  messages=messages,
49
  max_completion_tokens=max_new_tokens,
50
  temperature=temperature,
 
4
 
5
  DESCRIPTION = '''
6
  <div>
7
+ <h1 style="text-align: center;">TAIDE/TAIDE-LX-7B-Chat</h1>
8
+ <p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/taide/TAIDE-LX-7B-Chat"><b>TAIDE-LX-7B-Chat</b></a>. TAIDE-LX-7B-Chat is the new open LLM and comes in one sizes: 8b. Feel free to play with it, or duplicate to run privately!</p>
9
  </div>
10
  '''
11
 
12
  LICENSE = """
13
  <p/>
14
  ---
15
+ Built with TAIDE-LX-7B-Chat
16
  """
17
 
18
  css = """
 
44
  messages.append({"role": "user", "content": message})
45
 
46
  response = litellm.completion(
47
+ model="openai/TAIDE-LX-7B-Chat", # tells litellm to call the model via the Responses API
48
  messages=messages,
49
  max_completion_tokens=max_new_tokens,
50
  temperature=temperature,