Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# تحميل النموذج
|
| 5 |
-
classifier = pipeline("zero-shot-classification", model="
|
| 6 |
|
| 7 |
# عنوان التطبيق
|
| 8 |
st.title("Text Classification App")
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# تحميل النموذج
|
| 5 |
+
classifier = pipeline("zero-shot-classification", model="cross-encoder/nli-distilroberta-base")
|
| 6 |
|
| 7 |
# عنوان التطبيق
|
| 8 |
st.title("Text Classification App")
|