fixed import
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ if __name__ == "__main__":
|
|
12 |
summarize_type = st.sidebar.selectbox("Summarization type", options=["Extractive", "Abstractive"])
|
13 |
|
14 |
if summarize_type == "Extractive":
|
15 |
-
from
|
16 |
|
17 |
# init model
|
18 |
model = Summarizer()
|
|
|
12 |
summarize_type = st.sidebar.selectbox("Summarization type", options=["Extractive", "Abstractive"])
|
13 |
|
14 |
if summarize_type == "Extractive":
|
15 |
+
from model_processors import Summarizer
|
16 |
|
17 |
# init model
|
18 |
model = Summarizer()
|