Spaces:
Sleeping
Sleeping
Commit
·
ccd2c4d
1
Parent(s):
f44e865
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ word_to_index = StringLookup(
|
|
78 |
|
79 |
# Lookup table: Index -> Word
|
80 |
index_to_word = StringLookup(
|
81 |
-
mask_token="", vocabulary=tokenizer
|
82 |
)
|
83 |
|
84 |
|
|
|
78 |
|
79 |
# Lookup table: Index -> Word
|
80 |
index_to_word = StringLookup(
|
81 |
+
mask_token="", vocabulary=tokenizer, invert=True
|
82 |
)
|
83 |
|
84 |
|