Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from setfit import SetFitModel
|
3 |
-
|
4 |
|
5 |
####################################### Dashboard ######################################################
|
6 |
|
@@ -44,8 +44,6 @@ id2label = {
|
|
44 |
13: 'Urban populations',
|
45 |
14: 'Women'}
|
46 |
|
47 |
-
# Import the file_processing function
|
48 |
-
from file_processing.py import get_paragraphs
|
49 |
|
50 |
# Process document to paragraphs
|
51 |
par_list = process_documents(uploaded_file)
|
|
|
1 |
import streamlit as st
|
2 |
from setfit import SetFitModel
|
3 |
+
from file_processing import get_paragraphs
|
4 |
|
5 |
####################################### Dashboard ######################################################
|
6 |
|
|
|
44 |
13: 'Urban populations',
|
45 |
14: 'Women'}
|
46 |
|
|
|
|
|
47 |
|
48 |
# Process document to paragraphs
|
49 |
par_list = process_documents(uploaded_file)
|