Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ classifier = pipeline("zero-shot-classification", model="MoritzLaurer/DeBERTa-v3
|
|
8 |
candidate_labels = ["science", "technology", "history"]
|
9 |
|
10 |
# Sequence to classify
|
11 |
-
sequence_to_classify = st.
|
12 |
|
13 |
# Classify the sequence
|
14 |
output = classifier(sequence_to_classify, candidate_labels)
|
|
|
8 |
candidate_labels = ["science", "technology", "history"]
|
9 |
|
10 |
# Sequence to classify
|
11 |
+
sequence_to_classify = st.text_input()
|
12 |
|
13 |
# Classify the sequence
|
14 |
output = classifier(sequence_to_classify, candidate_labels)
|