AdritRao commited on
Commit
42b7778
·
1 Parent(s): a59d305

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -15,10 +15,15 @@ from PIL import Image
15
  logo_image = Image.open("logo.png")
16
 
17
  # Set the logo image to display at the top of the app
18
- logo_width = 50 # Adjust this value to your preferred size
19
 
20
- # Display the logo image with the specified width
21
- st.image(logo_image, use_column_width=False, width=logo_width)
 
 
 
 
 
22
 
23
  subprocess_executed = False
24
 
 
15
  logo_image = Image.open("logo.png")
16
 
17
  # Set the logo image to display at the top of the app
18
+ logo_width = 120 # Adjust this value to your preferred size
19
 
20
+ # Create a column to center the logo
21
+ st.write("")
22
+ col1, col2, col3 = st.beta_columns([1, 2, 1])
23
+
24
+ # Add the logo image to the center column
25
+ with col2:
26
+ st.image(logo_image, use_column_width=False, width=logo_width)
27
 
28
  subprocess_executed = False
29