faizanmumtaz commited on
Commit
e21050f
·
1 Parent(s): 95cf6df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,9 +6,8 @@ os.environ["OPENAI_API_KEY"]="sk-ZYRgQoWlzp1TfCdYNDvtT3BlbkFJ1nw3yGmZt2VStA1J1Yt
6
  import streamlit as st
7
 
8
  def get_openai_response(question):
9
- # llm=OpenAI(model_name="gpt-3.5-turbo",temperature=0)
10
- # return llm(question)
11
- return "I am best what about you"
12
 
13
  st.set_page_config(page_title="Q&N ChatBot")
14
  st.header("LangChain Application")
 
6
  import streamlit as st
7
 
8
  def get_openai_response(question):
9
+ llm=OpenAI(model_name="gpt-3.5-turbo",temperature=0)
10
+ return llm(question)
 
11
 
12
  st.set_page_config(page_title="Q&N ChatBot")
13
  st.header("LangChain Application")