Keyurjotaniya007 commited on
Commit
8f1ef48
·
verified ·
1 Parent(s): 248983a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -2
app.py CHANGED
@@ -19,8 +19,28 @@ def main():
19
  left, right = st.columns([1, 7])
20
 
21
  with left:
22
- st.markdown("### 📁 Upload Image")
23
- uploaded_image = st.file_uploader("Drag and drop or browse", type=["jpg", "jpeg", "png"])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  with right:
26
  if uploaded_image:
 
19
  left, right = st.columns([1, 7])
20
 
21
  with left:
22
+ st.markdown(
23
+ """
24
+ <div style='
25
+ border: 2px dashed #cccccc;
26
+ border-radius: 10px;
27
+ padding: 20px;
28
+ text-align: center;
29
+ background-color: #f9f9f9;
30
+ width: 100%;
31
+ '>
32
+ <h3 style="margin-top: 0;">📁 Upload Image</h3>
33
+ <p>Drag and drop or browse</p>
34
+ </div>
35
+ """,
36
+ unsafe_allow_html=True
37
+ )
38
+
39
+ uploaded_image = st.file_uploader(
40
+ label="Upload a website UI screenshot",
41
+ type=["jpg", "jpeg", "png"],
42
+ label_visibility="collapsed"
43
+ )
44
 
45
  with right:
46
  if uploaded_image: