Spaces:
Sleeping
Sleeping
no message
Browse files
main.py
CHANGED
@@ -152,6 +152,7 @@ def split_into_parts(text, max_tokens):
|
|
152 |
|
153 |
classifier = pipeline("text-classification", model="distilbert-base-uncased-finetuned-sst-2-english")
|
154 |
|
|
|
155 |
def classify_segments(segments):
|
156 |
results = []
|
157 |
for segment in segments:
|
|
|
152 |
|
153 |
classifier = pipeline("text-classification", model="distilbert-base-uncased-finetuned-sst-2-english")
|
154 |
|
155 |
+
|
156 |
def classify_segments(segments):
|
157 |
results = []
|
158 |
for segment in segments:
|