yashasgupta commited on
Commit
5182eb0
1 Parent(s): 0fda47d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from langchain.prompts import ChatPromptTemplate
10
  os.environ["OPENAI_API_KEY"] = os.getenv("k1")
11
 
12
  # Initialize OpenAI with LangChain
13
- llm = OpenAI(api_key=os.environ["OPENAI_API_KEY"], model="gpt-3.5-turbo", temperature=0)
14
 
15
  # Prompt template for image captioning
16
  caption_template = """
 
10
  os.environ["OPENAI_API_KEY"] = os.getenv("k1")
11
 
12
  # Initialize OpenAI with LangChain
13
+ llm = OpenAI(api_key=os.environ["OPENAI_API_KEY"], model="Salesforce/blip-image-captioning-large", temperature=0)
14
 
15
  # Prompt template for image captioning
16
  caption_template = """