milyiyo commited on
Commit
8aac6a2
1 Parent(s): d8be3b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -100,6 +100,8 @@ def paraphrase(sentence: str, count: str):
100
  # line = tokenizer.decode(
101
  # output, skip_special_tokens=True, clean_up_tokenization_spaces=True)
102
  # res.append(line)
 
 
103
  return {
104
  'result': {
105
  'generate_v1':generate_v1(encoding, count),
 
100
  # line = tokenizer.decode(
101
  # output, skip_special_tokens=True, clean_up_tokenization_spaces=True)
102
  # res.append(line)
103
+ print(encoding)
104
+ print(encoding["input_ids"])
105
  return {
106
  'result': {
107
  'generate_v1':generate_v1(encoding, count),