import streamlit as st from langchain_openai import ChatOpenAI from langchain_core.prompts import ChatPromptTemplate import os os.environ["OPENAI_API_KEY"] = os.getenv["k1"] st.title("Image Caption Generator :frame_with_picture:") file_uploader = st.file_uploader(label = "Upload a file")