Spaces:
Runtime error
Runtime error
muhammadzain
commited on
Commit
•
c470f1d
1
Parent(s):
0431649
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ with col2:
|
|
152 |
|
153 |
|
154 |
|
155 |
-
if st.button("PROCEED") and file is not None:
|
156 |
if st.session_state.get('opt1') == True:
|
157 |
task = st.session_state.opt1_selBox
|
158 |
else:
|
@@ -170,15 +170,17 @@ with col2:
|
|
170 |
st.session_state.disable_download = True
|
171 |
|
172 |
if st.session_state.disable_download == True:
|
173 |
-
st.button("DOWNLOAD FILE",disabled=True)
|
174 |
else:
|
175 |
with open('processed_'+file.name, "rb") as download_file:
|
176 |
-
st.download_button(label="
|
177 |
file_name= 'processed_'+file.name, mime= "image/png",
|
178 |
disabled=st.session_state.disable_download)
|
179 |
|
180 |
|
181 |
-
|
182 |
st.markdown("\n")
|
183 |
st.markdown("\n")
|
184 |
-
st.
|
|
|
|
|
|
|
|
152 |
|
153 |
|
154 |
|
155 |
+
if st.button(43*" "+"PROCEED"+" "*43) and file is not None:
|
156 |
if st.session_state.get('opt1') == True:
|
157 |
task = st.session_state.opt1_selBox
|
158 |
else:
|
|
|
170 |
st.session_state.disable_download = True
|
171 |
|
172 |
if st.session_state.disable_download == True:
|
173 |
+
st.button(36*" "+"DOWNLOAD FILE"+" "*36,disabled=True)
|
174 |
else:
|
175 |
with open('processed_'+file.name, "rb") as download_file:
|
176 |
+
st.download_button(label=36*" "+"DOWNLOAD FILE"+" "*36, data=download_file,
|
177 |
file_name= 'processed_'+file.name, mime= "image/png",
|
178 |
disabled=st.session_state.disable_download)
|
179 |
|
180 |
|
|
|
181 |
st.markdown("\n")
|
182 |
st.markdown("\n")
|
183 |
+
st.markdown("\n")
|
184 |
+
st.info("DESCRIPTION : This web app is a free tool a free tool designed to enhance your media experience by allowing users to upscale or resize image resolution.
|
185 |
+
While the app is still undergoing development, I am delighted to offer you the opportunity. In the event that you encounter any issues while using our web application,
|
186 |
+
please accept my apologies..\n I welcome your feedback and suggestions, and encourage you to contact me at zain.18j2000@gmail.com to share your thoughts.")
|