Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr #this is in place of the streamlit of the HF video
|
3 |
import torch #this is just like the HF video
|
|
|
|
|
4 |
|
5 |
|
6 |
classifier = pipeline("zero-shot-classification")
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr #this is in place of the streamlit of the HF video
|
3 |
import torch #this is just like the HF video
|
4 |
+
import datasets
|
5 |
+
evaluate transformers[sentencepiece]
|
6 |
|
7 |
|
8 |
classifier = pipeline("zero-shot-classification")
|