Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ id2label = {
|
|
46 |
|
47 |
|
48 |
# Process document to paragraphs
|
49 |
-
par_list =
|
50 |
|
51 |
# Make predictions
|
52 |
preds = vg_model(par_list)
|
|
|
46 |
|
47 |
|
48 |
# Process document to paragraphs
|
49 |
+
par_list = get_paragraphs(uploaded_file)
|
50 |
|
51 |
# Make predictions
|
52 |
preds = vg_model(par_list)
|