ppsingh commited on
Commit
b60ea35
·
verified ·
1 Parent(s): cac9a17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -6,6 +6,8 @@ from langchain.docstore.document import Document
6
 
7
  st.set_page_config(page_title="SEARCH IATI",layout='wide')
8
  st.title("SEARCH IATI Database")
 
 
9
 
10
  def create_chunks(text):
11
  text_splitter = TokenTextSplitter(chunk_size=500, chunk_overlap=0)
@@ -53,4 +55,4 @@ chunks = get_chunks()
53
  button=st.button("search")
54
 
55
  if button :
56
- st.write(placeholder[0])
 
6
 
7
  st.set_page_config(page_title="SEARCH IATI",layout='wide')
8
  st.title("SEARCH IATI Database")
9
+ var=st.text_input("enter keyword")
10
+ title = var.replace(' ','+')
11
 
12
  def create_chunks(text):
13
  text_splitter = TokenTextSplitter(chunk_size=500, chunk_overlap=0)
 
55
  button=st.button("search")
56
 
57
  if button :
58
+ st.write(chunks[0])