supermy commited on
Commit
0a02563
1 Parent(s): aeae15e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def top_k_top_p_filtering( logits, top_k=0, top_p=0.0, filter_value=-float('Inf'
27
  return logits
28
 
29
  def generate(title, context, max_len):
30
-
31
  # input_ids.extend( tokenizer.encode(input_text + "-", add_special_tokens=False) )
32
 
33
  title_ids = tokenizer.encode(title, add_special_tokens=False)
 
27
  return logits
28
 
29
  def generate(title, context, max_len):
30
+ print(title, context, max_len)
31
  # input_ids.extend( tokenizer.encode(input_text + "-", add_special_tokens=False) )
32
 
33
  title_ids = tokenizer.encode(title, add_special_tokens=False)