mehmet0001 commited on
Commit
c486a23
·
verified ·
1 Parent(s): 0b913e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,7 +4,6 @@ import create_database
4
  import streamlit as st
5
 
6
  api_key = "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"
7
- st.session_state.stage = "crawl-input"
8
 
9
  if st.session_state.stage == "crawl-input":
10
  config = st.text_area("Enter the start URL and the limit of crawling (in this format : URL,limit):")
@@ -29,7 +28,7 @@ prompt_template = """Answer the question only according to the information provi
29
  # {}"""
30
 
31
  if st.session_state.stage == "prompt-input":
32
- prompt = st.chat_input("What would you like to chat about?")
33
  prompt_btn = st.button("Enter")
34
 
35
  if prompt and prompt_btn:
 
4
  import streamlit as st
5
 
6
  api_key = "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"
 
7
 
8
  if st.session_state.stage == "crawl-input":
9
  config = st.text_area("Enter the start URL and the limit of crawling (in this format : URL,limit):")
 
28
  # {}"""
29
 
30
  if st.session_state.stage == "prompt-input":
31
+ prompt = st.text_area("What would you like to chat about?")
32
  prompt_btn = st.button("Enter")
33
 
34
  if prompt and prompt_btn: