Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,8 @@ st.subheader(':green[_Image Alt Text Generator_]')
|
|
| 21 |
openai.api_key = st.secrets["openai_api_key"]
|
| 22 |
|
| 23 |
# File uploader allows user to add their own image
|
| 24 |
-
uploaded_file = st.file_uploader("Upload an image", type=["jpg", "png", "jpeg"])
|
|
|
|
| 25 |
|
| 26 |
# if uploaded_file:
|
| 27 |
# # Display the uploaded image with specified width
|
|
|
|
| 21 |
openai.api_key = st.secrets["openai_api_key"]
|
| 22 |
|
| 23 |
# File uploader allows user to add their own image
|
| 24 |
+
# uploaded_file = st.file_uploader("Upload an image", type=["jpg", "png", "jpeg"])
|
| 25 |
+
uploaded_file = st.file_uploader(type=["jpg", "png", "jpeg"])
|
| 26 |
|
| 27 |
# if uploaded_file:
|
| 28 |
# # Display the uploaded image with specified width
|