Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,16 +36,31 @@ if st.button("Summarize"):
|
|
| 36 |
else:
|
| 37 |
st.warning("Please enter some text to summarize.")
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
else:
|
| 37 |
st.warning("Please enter some text to summarize.")
|
| 38 |
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
st.set_option('deprecation.showfileUploaderEncoding', False)
|
| 42 |
+
st.markdown(
|
| 43 |
+
"""
|
| 44 |
+
<style>
|
| 45 |
+
.reportview-container {
|
| 46 |
+
flex-direction: row;
|
| 47 |
+
justify-content: center.
|
| 48 |
+
}
|
| 49 |
+
</style>
|
| 50 |
+
""",
|
| 51 |
+
unsafe_allow_html=True
|
| 52 |
+
)
|
| 53 |
+
|
| 54 |
+
# if _name_ == "_main_":
|
| 55 |
+
# st.set_option('deprecation.showfileUploaderEncoding', False)
|
| 56 |
+
# st.markdown(
|
| 57 |
+
# """
|
| 58 |
+
# <style>
|
| 59 |
+
# .reportview-container {
|
| 60 |
+
# flex-direction: row;
|
| 61 |
+
# justify-content: center.
|
| 62 |
+
# }
|
| 63 |
+
# </style>
|
| 64 |
+
# """,
|
| 65 |
+
# unsafe_allow_html=True
|
| 66 |
+
# )
|