nebiyu29 commited on
Commit
daeb2f3
1 Parent(s): 99edd2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.input_text()
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)