mehmet0001 commited on
Commit
f470856
·
verified ·
1 Parent(s): a36375c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- st.write(st.session_state.collection)
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.