Spaces:
Runtime error

Mleity commited on
Commit
9714de5
·
verified ·
1 Parent(s): 1a6a009

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -4
src/streamlit_app.py CHANGED
@@ -6,11 +6,10 @@ from PIL import Image
6
  st.set_page_config(page_title="MESC AI Tool", layout="centered")
7
 
8
  # --- LOGO SECTION ---
9
-
10
- logo = Image.open("logoMESC.png")
11
  st.image(logo, width=300)
12
- except:
13
- pass # If no logo, it just skips this part quietly
14
 
15
  # --- HEADER SECTION WITH CUSTOM COLOR ---
16
  st.title("<span style="color:red;">[MESC]</span>Ltd.")
 
6
  st.set_page_config(page_title="MESC AI Tool", layout="centered")
7
 
8
  # --- LOGO SECTION ---
9
+ Image
10
+
11
  st.image(logo, width=300)
12
+ logo = Image.open("logoMESC.png")
 
13
 
14
  # --- HEADER SECTION WITH CUSTOM COLOR ---
15
  st.title("<span style="color:red;">[MESC]</span>Ltd.")