Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,11 +22,12 @@ st.set_page_config(page_title="Q&A Demo")
|
|
22 |
st.header("Langchain Application")
|
23 |
|
24 |
input = st.text_input("Input: ",key='input')
|
25 |
-
response = get_openai_response(input)
|
26 |
|
27 |
submit = st.button("Ask the question")
|
28 |
|
29 |
if submit:
|
30 |
st.subheader("The response is")
|
|
|
31 |
st.write(response)
|
32 |
|
|
|
22 |
st.header("Langchain Application")
|
23 |
|
24 |
input = st.text_input("Input: ",key='input')
|
25 |
+
#response = get_openai_response(input)
|
26 |
|
27 |
submit = st.button("Ask the question")
|
28 |
|
29 |
if submit:
|
30 |
st.subheader("The response is")
|
31 |
+
response = get_openai_response(input)
|
32 |
st.write(response)
|
33 |
|