GeorgiosIoannouCoder commited on
Commit
8d16092
1 Parent(s): 90d7958

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -14,7 +14,6 @@ import streamlit as st # Build the GUI of the application.
14
  import torch # Load Salesforce/blip model(s) on GPU.
15
 
16
 
17
- from dotenv import load_dotenv, find_dotenv # Read local .env file.
18
  from langchain.chat_models import ChatOpenAI # Access to OpenAI gpt-3.5-turbo model.
19
  from langchain.chains import LLMChain # Chain to run queries against LLMs.
20
 
@@ -26,7 +25,6 @@ from transformers import BlipProcessor, BlipForQuestionAnswering # VQA model in
26
  #############################################################################################################################
27
  # Load environment variable(s).
28
 
29
- load_dotenv(find_dotenv()) # Read local .env file.
30
  HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
31
  openai.api_key = os.getenv("OPENAI_API_KEY")
32
 
 
14
  import torch # Load Salesforce/blip model(s) on GPU.
15
 
16
 
 
17
  from langchain.chat_models import ChatOpenAI # Access to OpenAI gpt-3.5-turbo model.
18
  from langchain.chains import LLMChain # Chain to run queries against LLMs.
19
 
 
25
  #############################################################################################################################
26
  # Load environment variable(s).
27
 
 
28
  HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
29
  openai.api_key = os.getenv("OPENAI_API_KEY")
30