harrydawitch commited on
Commit
d4b3308
·
verified ·
1 Parent(s): 82bf9e5

Update app/homepage.py

Browse files
Files changed (1) hide show
  1. app/homepage.py +37 -37
app/homepage.py CHANGED
@@ -1,37 +1,37 @@
1
- import os
2
- import subprocess
3
-
4
- import time
5
- from PIL import Image
6
- import pandas as pd
7
- import numpy as np
8
-
9
- import streamlit as st
10
- from streamlit_image_comparison import image_comparison
11
-
12
-
13
- def app():
14
- # st.set_page_config(page_title="ArchIntelligent", page_icon="🏠", initial_sidebar_state='expanded')
15
-
16
- # with st.sidebar:
17
- st.title(":red[Arch]Intelligent", anchor="anchor_example")
18
- st.caption('*Made by* :blue[**[*Long Thien Hoang Chu (Harry)*](https://www.facebook.com/harryedits3007)**] - Industrial University of Ho Chi Minh City',
19
- unsafe_allow_html=True)
20
-
21
-
22
- image_comparison(img1=r".\app\asset\images\homepage\image_1.jpg",
23
- img2=r".\app\asset\images\homepage\image_2.png",
24
- label1= "Before",
25
- label2= "After",
26
- )
27
-
28
- st.write(
29
- """
30
- **Render or redesign your exterior designs in seconds. Just upload a photo or sketch and see the magic in action.**
31
- \n1. Upload an image of your design.
32
- \n2. Image can be a sketch, snapshot from 3d model or a real photo.
33
- \n3. Write a good prompt to describe your design.
34
- \n4. Choose your render mode.
35
- \n← Start generating from side panel
36
- """
37
- )
 
1
+ import os
2
+ import subprocess
3
+
4
+ import time
5
+ from PIL import Image
6
+ import pandas as pd
7
+ import numpy as np
8
+
9
+ import streamlit as st
10
+ from streamlit_image_comparison import image_comparison
11
+
12
+
13
+ def app():
14
+ # st.set_page_config(page_title="ArchIntelligent", page_icon="🏠", initial_sidebar_state='expanded')
15
+
16
+ # with st.sidebar:
17
+ st.title(":red[Arch]Intelligent", anchor="anchor_example")
18
+ st.caption('*Made by* :blue[**[*Long Thien Hoang Chu (Harry)*](https://www.facebook.com/harryedits3007)**] - Industrial University of Ho Chi Minh City',
19
+ unsafe_allow_html=True)
20
+
21
+
22
+ image_comparison(img1="app/asset/images/homepage/image_1.jpg",
23
+ img2="app/asset/images/homepage/image_2.png",
24
+ label1= "Before",
25
+ label2= "After",
26
+ )
27
+
28
+ st.write(
29
+ """
30
+ **Render or redesign your exterior designs in seconds. Just upload a photo or sketch and see the magic in action.**
31
+ \n1. Upload an image of your design.
32
+ \n2. Image can be a sketch, snapshot from 3d model or a real photo.
33
+ \n3. Write a good prompt to describe your design.
34
+ \n4. Choose your render mode.
35
+ \n← Start generating from side panel
36
+ """
37
+ )