Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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),
|