yashasgupta commited on
Commit
bafac00
1 Parent(s): 766e169

Create app1.py

Browse files
Files changed (1) hide show
  1. app1.py +9 -0
app1.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from langchain_openai import ChatOpenAI
3
+ from langchain_core.promts import ChatPromptTemplate
4
+ import os
5
+
6
+ os.environ["OPENAI_API_KEY"] = os.getenv["k1"]
7
+ st.title("Image Caption Generator :frame_with_picture:")
8
+
9
+ st.file_uploader(label = "Upload a file")