acecalisto3
commited on
Commit
•
5875237
1
Parent(s):
544968e
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
|
|
|
|
|
|
3 |
|
4 |
# Load the NLP pipeline for text classification
|
5 |
classifier = pipeline("text-classification")
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
from transformers import AutoModelForCausalLM
|
4 |
+
|
5 |
+
|
6 |
|
7 |
# Load the NLP pipeline for text classification
|
8 |
classifier = pipeline("text-classification")
|