Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,8 @@ if config and config_btn:
|
|
14 |
|
15 |
txt = crawl_the_site.crawl(start,limit)
|
16 |
st.session_state.collection = create_database.create_database(txt)
|
17 |
-
st.write(st.session_state.collection)
|
18 |
st.write("Crawling is done.")
|
19 |
-
|
20 |
openai_client = OpenAI(base_url="https://openrouter.ai/api/v1",api_key=api_key)
|
21 |
|
22 |
prompt_template = """Answer the question only according to the information provided below. Answer only the user's question, dont give additional information.
|
|
|
14 |
|
15 |
txt = crawl_the_site.crawl(start,limit)
|
16 |
st.session_state.collection = create_database.create_database(txt)
|
|
|
17 |
st.write("Crawling is done.")
|
18 |
+
|
19 |
openai_client = OpenAI(base_url="https://openrouter.ai/api/v1",api_key=api_key)
|
20 |
|
21 |
prompt_template = """Answer the question only according to the information provided below. Answer only the user's question, dont give additional information.
|