mehmet0001 commited on
Commit
d7ce517
·
verified ·
1 Parent(s): 659ec36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -14,7 +14,10 @@ prompt_template = """Answer the question only according to the information provi
14
  ## Question :
15
  # {}"""
16
 
17
- st.session_state.stage = "crawl-input"
 
 
 
18
 
19
  if st.session_state.stage == "crawl-input":
20
  config = st.text_area("Enter the start URL and the limit of crawling (in this format : URL,limit):")
 
14
  ## Question :
15
  # {}"""
16
 
17
+ try:
18
+ st.session_state.stage
19
+ except Exception:
20
+ st.session_state.stage = "crawl-input"
21
 
22
  if st.session_state.stage == "crawl-input":
23
  config = st.text_area("Enter the start URL and the limit of crawling (in this format : URL,limit):")