Spaces:
Runtime error
Runtime error
Rename pages/03_🖼️_Input_Images.py to pages/03_Input_Images.py
Browse files
pages/{03_🖼️_Input_Images.py → 03_Input_Images.py}
RENAMED
@@ -8,21 +8,15 @@ from streamlit_lottie import st_lottie
|
|
8 |
from models.deep_colorization.colorizers import eccv16
|
9 |
from utils import colorize_image, change_model, load_lottieurl
|
10 |
|
11 |
-
st.set_page_config(page_title="Image & Video Colorizer", page_icon="🎨", layout="wide")
|
|
|
|
|
12 |
|
13 |
|
14 |
loaded_model = eccv16(pretrained=True).eval()
|
15 |
current_model = "None"
|
16 |
|
17 |
-
|
18 |
-
col1, col2 = st.columns([1, 3])
|
19 |
-
with col1:
|
20 |
-
lottie = load_lottieurl("https://assets5.lottiefiles.com/packages/lf20_RHdEuzVfEL.json")
|
21 |
-
st_lottie(lottie)
|
22 |
-
|
23 |
-
with col2:
|
24 |
-
st.write("""
|
25 |
-
## B&W Images Colorizer
|
26 |
##### Input a black and white image and get a colorized version of it.
|
27 |
###### ➠ If you want to colorize multiple images just upload them all at once.
|
28 |
###### ➠ Uploading already colored images won't raise errors but images won't look good.
|
@@ -103,9 +97,3 @@ def main():
|
|
103 |
|
104 |
if __name__ == "__main__":
|
105 |
main()
|
106 |
-
st.markdown(
|
107 |
-
"###### Made with :heart: by [Clément Delteil](https://www.linkedin.com/in/clementdelteil/) [](https://www.buymeacoffee.com/clementdelteil)")
|
109 |
-
st.markdown(
|
110 |
-
"###### [Blog post of the project](https://medium.com/geekculture/creating-a-web-app-to-colorize-images-and-youtube-videos-80f5be2d0f68)"
|
111 |
-
)
|
|
|
8 |
from models.deep_colorization.colorizers import eccv16
|
9 |
from utils import colorize_image, change_model, load_lottieurl
|
10 |
|
11 |
+
#st.set_page_config(page_title="Image & Video Colorizer", page_icon="🎨", layout="wide")
|
12 |
+
|
13 |
+
st.title("B&W Images Colorizer")
|
14 |
|
15 |
|
16 |
loaded_model = eccv16(pretrained=True).eval()
|
17 |
current_model = "None"
|
18 |
|
19 |
+
st.write("""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
##### Input a black and white image and get a colorized version of it.
|
21 |
###### ➠ If you want to colorize multiple images just upload them all at once.
|
22 |
###### ➠ Uploading already colored images won't raise errors but images won't look good.
|
|
|
97 |
|
98 |
if __name__ == "__main__":
|
99 |
main()
|
|
|
|
|
|
|
|
|
|
|
|