lvwerra HF staff commited on
Commit
8496efd
1 Parent(s): e6cd808

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def generate(instruction, temperature=0.9, max_new_tokens=256, top_p=0.95, top_k
77
  try:
78
  print("Pushing prompt and completion to the Hub")
79
  save_inputs_and_outputs(formatted_instruction, output, generate_kwargs)
80
- except Exception,e:
81
  print(e)
82
 
83
  return output
 
77
  try:
78
  print("Pushing prompt and completion to the Hub")
79
  save_inputs_and_outputs(formatted_instruction, output, generate_kwargs)
80
+ except Exception as e:
81
  print(e)
82
 
83
  return output