nehalelkaref commited on
Commit
c540a3a
1 Parent(s): 273cd32

Update app.py

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