Locutusque commited on
Commit
5545870
·
verified ·
1 Parent(s): 1d8d1b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def generate(
19
  pipe = load_model(model_name)
20
 
21
  # Set tokenize correctly. Otherwise ticking the box breaks it.
22
- if model_name == "M4-ai/tau-0.5B":
23
  prompt = user_input
24
  else:
25
  prompt = f"<|im_start|>user\n{user_input}<|im_end|>\n<|im_start|>assistant\n"
 
19
  pipe = load_model(model_name)
20
 
21
  # Set tokenize correctly. Otherwise ticking the box breaks it.
22
+ if model_name == "M4-ai/tau-1.8B":
23
  prompt = user_input
24
  else:
25
  prompt = f"<|im_start|>user\n{user_input}<|im_end|>\n<|im_start|>assistant\n"