ProfessorLeVesseur commited on
Commit
97c6c25
·
verified ·
1 Parent(s): 7373277

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,5 +1,4 @@
1
  import streamlit as st
2
- st.set_page_config(layout="wide")
3
  import base64
4
  import openai
5
 
@@ -8,7 +7,7 @@ def encode_image(image_file):
8
  return base64.b64encode(image_file.getvalue()).decode("utf-8")
9
 
10
  # Streamlit page setup
11
- st.set_page_config(page_title="MTSS Image Accessibility Alt Text Generator", layout="centered", initial_sidebar_state="collapsed")
12
 
13
  #Add the image with a specified width
14
  image_width = 300 # Set the desired width in pixels
 
1
  import streamlit as st
 
2
  import base64
3
  import openai
4
 
 
7
  return base64.b64encode(image_file.getvalue()).decode("utf-8")
8
 
9
  # Streamlit page setup
10
+ st.set_page_config(page_title="MTSS Image Accessibility Alt Text Generator", layout="wide", initial_sidebar_state="collapsed")
11
 
12
  #Add the image with a specified width
13
  image_width = 300 # Set the desired width in pixels