Hrami commited on
Commit
f48f46e
·
1 Parent(s): b202f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,12 +1,12 @@
1
  # Q&A Chatbot
2
  from langchain.llms import OpenAI
3
 
4
- from dotenv import load_dotenv
5
 
6
- load_dotenv() # take environment variables from .env.
7
 
8
  import streamlit as st
9
- # import os
10
 
11
 
12
  ## Function to load OpenAI model and get respones
@@ -31,4 +31,4 @@ submit=st.button("Ask the question")
31
 
32
  if submit:
33
  st.subheader("The Response is")
34
- st.write(response)
 
1
  # Q&A Chatbot
2
  from langchain.llms import OpenAI
3
 
4
+ #from dotenv import load_dotenv
5
 
6
+ #load_dotenv() # take environment variables from .env.
7
 
8
  import streamlit as st
9
+ import os
10
 
11
 
12
  ## Function to load OpenAI model and get respones
 
31
 
32
  if submit:
33
  st.subheader("The Response is")
34
+ st.write(response)