Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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:
|