Image_Caption / app.py
yashasgupta's picture
Update app.py
1fb4ca2 verified
raw
history blame
294 Bytes
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")