Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,19 +1,18 @@
|
|
| 1 |
-
import pandas as pd
|
| 2 |
-
import numpy as np
|
| 3 |
-
import json
|
| 4 |
-
import os
|
| 5 |
-
import sys
|
| 6 |
import streamlit as st
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
import streamlit_apps_config as config
|
| 10 |
st.set_page_config(
|
| 11 |
layout="centered", # Can be "centered" or "wide". In the future also "dashboard", etc.
|
| 12 |
initial_sidebar_state="auto", # Can be "auto", "expanded", "collapsed"
|
| 13 |
page_title='Extractive Summarization', # String or None. Strings get appended with "• Streamlit".
|
| 14 |
page_icon='./favicon.png', # String, anything supported by st.image, or None.
|
| 15 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
sys.path.append(os.path.abspath('./'))
|
|
|
|
| 17 |
from streamlit_ner_output import show_html2, jsl_display_annotations, get_color
|
| 18 |
|
| 19 |
import sparknlp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
| 2 |
st.set_page_config(
|
| 3 |
layout="centered", # Can be "centered" or "wide". In the future also "dashboard", etc.
|
| 4 |
initial_sidebar_state="auto", # Can be "auto", "expanded", "collapsed"
|
| 5 |
page_title='Extractive Summarization', # String or None. Strings get appended with "• Streamlit".
|
| 6 |
page_icon='./favicon.png', # String, anything supported by st.image, or None.
|
| 7 |
)
|
| 8 |
+
|
| 9 |
+
import pandas as pd
|
| 10 |
+
import numpy as np
|
| 11 |
+
import json
|
| 12 |
+
import os
|
| 13 |
+
import sys
|
| 14 |
sys.path.append(os.path.abspath('./'))
|
| 15 |
+
import streamlit_apps_config as config
|
| 16 |
from streamlit_ner_output import show_html2, jsl_display_annotations, get_color
|
| 17 |
|
| 18 |
import sparknlp
|