Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def run_shell_commands():
|
|
| 71 |
# Start Streamlit app
|
| 72 |
st.title('Image Enhancer')
|
| 73 |
st.write('This is a simple web app to enhance the quality of images')
|
| 74 |
-
st.write('Kindly wait for
|
| 75 |
|
| 76 |
# Ask the user to input a file
|
| 77 |
uploaded_file = st.file_uploader("Choose an image...", type="jpg")
|
|
@@ -103,7 +103,6 @@ if uploaded_file is not None:
|
|
| 103 |
img_input = imread(input_path)
|
| 104 |
img_output = imread(output_path)
|
| 105 |
display(img_input, img_output)
|
| 106 |
-
#delete the uploaded file, input and output images
|
| 107 |
os.remove(file_path)
|
| 108 |
os.remove(input_path)
|
| 109 |
os.remove(output_path)
|
|
|
|
| 71 |
# Start Streamlit app
|
| 72 |
st.title('Image Enhancer')
|
| 73 |
st.write('This is a simple web app to enhance the quality of images')
|
| 74 |
+
st.write('Kindly wait for 30-40 seconds after uploading a photo 🙂')
|
| 75 |
|
| 76 |
# Ask the user to input a file
|
| 77 |
uploaded_file = st.file_uploader("Choose an image...", type="jpg")
|
|
|
|
| 103 |
img_input = imread(input_path)
|
| 104 |
img_output = imread(output_path)
|
| 105 |
display(img_input, img_output)
|
|
|
|
| 106 |
os.remove(file_path)
|
| 107 |
os.remove(input_path)
|
| 108 |
os.remove(output_path)
|