Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
from transformers import pipeline
|
|
|
|
| 3 |
import torch
|
| 4 |
|
| 5 |
# Load the tokenizer and model for classification
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from transformers import pipeline
|
| 3 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification, AutoModelWithLMHead
|
| 4 |
import torch
|
| 5 |
|
| 6 |
# Load the tokenizer and model for classification
|