Spaces:
Runtime error
Runtime error
Update visualize.py
Browse files
src/visualization/visualize.py
CHANGED
|
@@ -15,7 +15,7 @@ def visualize():
|
|
| 15 |
text = st.text_area("Enter text here")
|
| 16 |
if st.button("Generate Summary"):
|
| 17 |
with st.spinner("Connecting the Dots..."):
|
| 18 |
-
sumtext = predict_model(text=text)
|
| 19 |
st.write("# Generated Summary:")
|
| 20 |
st.write("{}".format(sumtext))
|
| 21 |
|
|
|
|
| 15 |
text = st.text_area("Enter text here")
|
| 16 |
if st.button("Generate Summary"):
|
| 17 |
with st.spinner("Connecting the Dots..."):
|
| 18 |
+
sumtext = predict_model.predict_model(text=text)
|
| 19 |
st.write("# Generated Summary:")
|
| 20 |
st.write("{}".format(sumtext))
|
| 21 |
|