Rifky commited on
Commit
eb5ff1c
·
1 Parent(s): 0ab2c20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -31,8 +31,16 @@ with st.spinner("Loading Model..."):
31
  model, base_model, tokenizer, data = load_model()
32
 
33
  st.markdown("""<h1 style="text-align:center;">Fake News Detection AI</h1>""", unsafe_allow_html=True)
34
- user_input = st.text_input("Article url")
35
- submit = st.button("submit")
 
 
 
 
 
 
 
 
36
 
37
  if submit:
38
  last_time = time.time()
 
31
  model, base_model, tokenizer, data = load_model()
32
 
33
  st.markdown("""<h1 style="text-align:center;">Fake News Detection AI</h1>""", unsafe_allow_html=True)
34
+ user_input = st.text_input(placeholder="Article URL")
35
+ b_left, b_center, b_right = st.columns([1,2,1])
36
+ with b_left:
37
+ st.write(" ")
38
+
39
+ with b_center:
40
+ submit = st.button("submit")
41
+
42
+ with b_right:
43
+ st.write(" ")
44
 
45
  if submit:
46
  last_time = time.time()