Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,13 @@ def encode_image(image_file):
|
|
8 |
|
9 |
# Streamlit page setup
|
10 |
st.set_page_config(page_title="MTSS Image Accessibility Alt Text Generator", layout="centered", initial_sidebar_state="collapsed")
|
11 |
-
# st.title("MTSS Snapshot: Accessibility Image Textifier: `Alt Text`")
|
12 |
|
13 |
-
|
14 |
-
|
|
|
15 |
|
|
|
|
|
16 |
|
17 |
# Retrieve the OpenAI API Key from secrets
|
18 |
openai.api_key = st.secrets["openai_api_key"]
|
|
|
8 |
|
9 |
# Streamlit page setup
|
10 |
st.set_page_config(page_title="MTSS Image Accessibility Alt Text Generator", layout="centered", initial_sidebar_state="collapsed")
|
|
|
11 |
|
12 |
+
#Add the image with a specified width
|
13 |
+
image_width = 300 # Set the desired width in pixels
|
14 |
+
st.image('MTSS.ai_Logo.png', width=image_width)
|
15 |
|
16 |
+
st.title('MTSS VisionText™ | Accessibility')
|
17 |
+
st.subheader(':green[_Image Alt Text Generator_]')
|
18 |
|
19 |
# Retrieve the OpenAI API Key from secrets
|
20 |
openai.api_key = st.secrets["openai_api_key"]
|