mehmet0001 commited on
Commit
55bc142
·
verified ·
1 Parent(s): 1dd505d

Update app.py

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