Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,11 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipe
|
|
10 |
import tensorflow as tf
|
11 |
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)
|
12 |
|
|
|
|
|
|
|
|
|
|
|
13 |
# Load pre-trained model and tokenizer
|
14 |
saved_directory = "orYx-models/finetuned-roberta-leadership-sentiment-analysis"
|
15 |
tokenizer = AutoTokenizer.from_pretrained(saved_directory)
|
|
|
10 |
import tensorflow as tf
|
11 |
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)
|
12 |
|
13 |
+
# LICESNE.tensorflow - https://github.com/tensorflow/tensorflow/blob/master/LICENSE
|
14 |
+
# LICENSE.Roberta -https://github.com/cardiffnlp/xlm-t/blob/main/LICENSE
|
15 |
+
# LICENSE.streamlit - https://github.com/streamlit/streamlit/blob/develop/LICENSE
|
16 |
+
# LICENSE.tranformers - https://github.com/huggingface/huggingface_hub/blob/main/LICENSE
|
17 |
+
|
18 |
# Load pre-trained model and tokenizer
|
19 |
saved_directory = "orYx-models/finetuned-roberta-leadership-sentiment-analysis"
|
20 |
tokenizer = AutoTokenizer.from_pretrained(saved_directory)
|