dhhd255 commited on
Commit
939fac3
·
1 Parent(s): ecdcebf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -4
app.py CHANGED
@@ -31,11 +31,26 @@ st.markdown("""
31
  .parkinsons {
32
  color: #C30000;
33
  }
 
 
 
 
 
 
 
34
  .caption {
35
- position:relative;
36
- bottom:-170px
37
  text-align: center;
38
- font-size: 18px;
 
 
 
 
 
 
 
 
 
39
  }
40
  </style>
41
  """, unsafe_allow_html=True)
@@ -78,4 +93,4 @@ if uploaded_file is not None:
78
  col2.caption(f'{confidence*100:.0f}% sure')
79
 
80
  # Add a caption at the bottom of the page
81
- st.markdown('<p class="caption">Made with love by Jayant</p>', unsafe_allow_html=True)
 
31
  .parkinsons {
32
  color: #C30000;
33
  }
34
+ .caption_c{
35
+ position: relative;
36
+ display: flex;
37
+ flex-directon: column;
38
+ align-items: center;
39
+ top: calc(99vh - 370px);
40
+ }
41
  .caption {
42
+
 
43
  text-align: center;
44
+ color: #646464;
45
+ font-size: 14px;
46
+ }
47
+ button:hover {
48
+ background-color: lightblue !important;
49
+ outline-color: lightblue !important;
50
+ }
51
+ button:focus {
52
+ background-color: lightblue !important;
53
+ outline-color: lightblue !important;
54
  }
55
  </style>
56
  """, unsafe_allow_html=True)
 
93
  col2.caption(f'{confidence*100:.0f}% sure')
94
 
95
  # Add a caption at the bottom of the page
96
+ st.markdown('<div class="caption_c"><p class="caption">Made with love by Jayant</p></div>', unsafe_allow_html=True)