lvwerra HF staff commited on
Commit
d0dc19e
1 Parent(s): c8f6eb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition
108
 
109
  if fim_mode:
110
  output = prefix
111
- elif: chat_mode:
112
  output = chat_prompt
113
  else:
114
  output = prompt
 
108
 
109
  if fim_mode:
110
  output = prefix
111
+ elif chat_mode:
112
  output = chat_prompt
113
  else:
114
  output = prompt