AdritRao commited on
Commit
4aa9424
·
1 Parent(s): d45522a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -11,6 +11,20 @@ from io import BytesIO
11
  from tkinter import Tcl
12
  from PIL import Image
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  subprocess_executed = False
15
 
16
  st.markdown("""
 
11
  from tkinter import Tcl
12
  from PIL import Image
13
 
14
+ logo_path = "your_logo.png" # Replace with your logo's file path
15
+ logo_width = 90 # Adjust the width as needed
16
+
17
+ # Define the custom header HTML
18
+ header_html = f """
19
+ <div style="display: flex; justify-content: center;">
20
+ <img src="{logo_path}" alt="Logo" width="{logo_width}">
21
+ </div>
22
+ """
23
+
24
+
25
+ # Render the custom header
26
+ st.markdown(header_html, unsafe_allow_html=True)
27
+
28
  subprocess_executed = False
29
 
30
  st.markdown("""