GeorgiosIoannouCoder commited on
Commit
b04be94
1 Parent(s): 29bab07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -12,7 +12,6 @@ import os # Load environment variable(s).
12
  import requests # Send HTTP GET request to Hugging Face models for inference.
13
  import streamlit as st # Build the GUI of the application.
14
 
15
- from dotenv import find_dotenv, load_dotenv # Load environment variables.
16
  from langchain.chat_models import ChatOpenAI # Access to OpenAI gpt-3.5-turbo model.
17
  from langchain.chains import LLMChain # Chain to run queries against LLMs.
18
  # A prompt template. It accepts a set of parameters from the user that can be used to generate a prompt for a language model.
@@ -23,7 +22,6 @@ from transformers import pipeline # Access to Hugging Face models.
23
  #############################################################################################################################
24
  # Load environment variable(s).
25
 
26
- load_dotenv(find_dotenv())
27
  HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
28
 
29
 
 
12
  import requests # Send HTTP GET request to Hugging Face models for inference.
13
  import streamlit as st # Build the GUI of the application.
14
 
 
15
  from langchain.chat_models import ChatOpenAI # Access to OpenAI gpt-3.5-turbo model.
16
  from langchain.chains import LLMChain # Chain to run queries against LLMs.
17
  # A prompt template. It accepts a set of parameters from the user that can be used to generate a prompt for a language model.
 
22
  #############################################################################################################################
23
  # Load environment variable(s).
24
 
 
25
  HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
26
 
27