MaxLSB commited on
Commit
bb4ad11
·
verified ·
1 Parent(s): 781a1ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,7 +7,7 @@ from threading import Thread
7
  # Remove GPU decorator since we are CPU-only
8
  def predict(message, history):
9
  # Load model and tokenizer on CPU
10
- model_id = "kurakurai/Luth-LFM2-1.2B"
11
  tokenizer = AutoTokenizer.from_pretrained(model_id)
12
  model = AutoModelForCausalLM.from_pretrained(
13
  model_id,
@@ -59,9 +59,9 @@ def predict(message, history):
59
  gr.ChatInterface(
60
  predict,
61
  description="""
62
- <center><h2>Kurakura AI Luth-LFM2-1.2B Chat</h2></center>
63
 
64
- Chat with [Luth-LFM2-1.2B](https://huggingface.co/kurakurai/Luth-LFM2-1.2B), a French-tuned version of LFM2-1.2B.
65
  """,
66
  examples=[
67
  "Peux-tu résoudre l'équation 3x - 7 = 11 pour x ?",
 
7
  # Remove GPU decorator since we are CPU-only
8
  def predict(message, history):
9
  # Load model and tokenizer on CPU
10
+ model_id = "kurakurai/Luth-LFM2-350M"
11
  tokenizer = AutoTokenizer.from_pretrained(model_id)
12
  model = AutoModelForCausalLM.from_pretrained(
13
  model_id,
 
59
  gr.ChatInterface(
60
  predict,
61
  description="""
62
+ <center><h2>Kurakura AI Luth-LFM2-350M Chat</h2></center>
63
 
64
+ Chat with [Luth-LFM2-350M](https://huggingface.co/kurakurai/Luth-LFM2-350M), a French-tuned version of LFM2-350M.
65
  """,
66
  examples=[
67
  "Peux-tu résoudre l'équation 3x - 7 = 11 pour x ?",