nehalelkaref commited on
Commit
611f8ce
·
verified ·
1 Parent(s): 56031b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  from flask import Flask, jsonify, request, render_template
2
- from adapters import AutoAdapterModel, AutoTokenizer, TextClassificationPipeline
 
3
  import numpy
4
 
5
  tokenizer = AutoTokenizer.from_pretrained("UBC-NLP/MARBERT")
 
1
  from flask import Flask, jsonify, request, render_template
2
+ from adapters import AutoAdapterModel,
3
+ from transformers import AutoTokenizer, TextClassificationPipeline
4
  import numpy
5
 
6
  tokenizer = AutoTokenizer.from_pretrained("UBC-NLP/MARBERT")