Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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
|