muhammadzain commited on
Commit
0431649
·
1 Parent(s): 011d2f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -6,10 +6,18 @@ from PIL import Image
6
  import cv2
7
 
8
 
9
-
10
  st.set_page_config(layout="wide")
11
 
 
 
 
 
 
 
 
 
12
 
 
13
 
14
  def loadModel(n):
15
  super_res = cv2.dnn_superres.DnnSuperResImpl_create()
@@ -75,8 +83,6 @@ if 'disable_download' not in st.session_state:
75
  st.session_state.disable_download = True
76
 
77
 
78
- #st.markdown(hide_streamlit_style, unsafe_allow_html=True)
79
-
80
  col1,_,col2 = st.columns([6,1,3],gap="small")
81
 
82
  def toggle_state_opt1():
 
6
  import cv2
7
 
8
 
 
9
  st.set_page_config(layout="wide")
10
 
11
+ hide_streamlit_style = """
12
+ <style>
13
+ #root > div:nth-child(1) > div > div > div > div > section > div {padding-top: 0rem;
14
+ padding-left: 1%;
15
+ }
16
+ </style>
17
+
18
+ """
19
 
20
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
21
 
22
  def loadModel(n):
23
  super_res = cv2.dnn_superres.DnnSuperResImpl_create()
 
83
  st.session_state.disable_download = True
84
 
85
 
 
 
86
  col1,_,col2 = st.columns([6,1,3],gap="small")
87
 
88
  def toggle_state_opt1():