Spaces:
Build error

jskinner215 commited on
Commit
512f2de
·
1 Parent(s): cd0ba3c

iloc errors around chunking and token length plus script for allowing ctrl+enter submissions

Browse files

Errors:

FutureWarnings: These are warnings indicating that the code is using deprecated features that may be removed in future versions of the libraries. While not urgent, it's good to address these warnings to future-proof your code.
You can replace 'DataFrame.swapaxes' with 'DataFrame.transpose'.
Replace instances where you use Series.__getitem__ as positions with Series.iloc.
Token indices sequence length: This indicates that the tokenized input sequence is longer than the maximum allowed length for the model (512 tokens for TAPAS). You need to manage the size of your input sequence.


Also added script to accept "Ctrl+Enter" as Submit

1 file changed +36 -32
app.py+36-32