Locutusque commited on
Commit
2f51011
·
verified ·
1 Parent(s): 63c8ee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -19,8 +19,6 @@ def generate(
19
  pipe = load_model(model_name)
20
 
21
  # Set tokenize correctly. Otherwise ticking the box breaks it.
22
- if repetition_penalty == 0:
23
- repetition_penalty = 1
24
  if model_name == "M4-ai/tau-1.8B":
25
  prompt = user_input
26
  else:
 
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: