aashwinik commited on
Commit
e7b635c
1 Parent(s): 33a18a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -12
app.py CHANGED
@@ -1,17 +1,11 @@
1
  import streamlit as st
2
 
3
- def get_text(): #from the UI App
4
- input_text = st.text_input("Enter a question: ", key="input")
5
- return input_text
6
-
7
  #UIApp starts here
8
- st.set_page_config(page_title="LangChain Demo - Simple Question Answering App", page_icon=":robot:")
9
- st.header("Simple Question Answering App")
10
 
11
- user_input=get_text()
12
- response=load_answer(user_input)
13
 
14
- submit=st.button('Generate')
15
- if submit:
16
- st.subheader("Answer: ")
17
- st.write(response)
 
1
  import streamlit as st
2
 
 
 
 
 
3
  #UIApp starts here
4
+ st.set_page_config(page_title="Bangalore One Day Treks", page_icon=":robot:")
5
+ st.header("Bangalore One Day Treks")
6
 
 
 
7
 
8
+
9
+ st.divider()
10
+ st.caption("Source: https://www.bmcadventures.com/collections/one-day-treks")
11
+