ibrahimgiki commited on
Commit
b96adaf
1 Parent(s): b8755e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -19,3 +19,17 @@ if user_input:
19
  summary = summarizer(user_input, max_length=130, min_length=30, do_sample=False)
20
  summarized_text = summary[0]['summary_text']
21
  st.text_area("Summary:", summarized_text, height=200)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  summary = summarizer(user_input, max_length=130, min_length=30, do_sample=False)
20
  summarized_text = summary[0]['summary_text']
21
  st.text_area("Summary:", summarized_text, height=200)
22
+
23
+ if _name_ == "_main_":
24
+ st.set_option('deprecation.showfileUploaderEncoding', False)
25
+ st.markdown(
26
+ """
27
+ <style>
28
+ .reportview-container {
29
+ flex-direction: row;
30
+ justify-content: center.
31
+ }
32
+ </style>
33
+ """,
34
+ unsafe_allow_html=True
35
+ )