Spaces:
Runtime error
Runtime error
Commit
·
e594532
1
Parent(s):
cf54875
added better way of showing
Browse files
app.py
CHANGED
@@ -62,7 +62,9 @@ def main():
|
|
62 |
if st.button('Split✂️'):
|
63 |
with st.spinner("Spliting Sentence...🧠"):
|
64 |
generated_sentence = load_model(input_complex_sentence, model)
|
65 |
-
|
|
|
|
|
66 |
|
67 |
|
68 |
if __name__ == "__main__":
|
|
|
62 |
if st.button('Split✂️'):
|
63 |
with st.spinner("Spliting Sentence...🧠"):
|
64 |
generated_sentence = load_model(input_complex_sentence, model)
|
65 |
+
sentence1, sentence2 = generated_sentence.split(".")
|
66 |
+
st.write("**Sentence1:** "+sentence1+".")
|
67 |
+
st.write("**Sentence2:** "+sentence2)
|
68 |
|
69 |
|
70 |
if __name__ == "__main__":
|