Logeswaransr commited on
Commit
61a1532
1 Parent(s): f6dc3fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -12,14 +12,8 @@ st.set_page_config(page_title='AI Chaperone - RAG', layout='wide')
12
 
13
  if 'messages' not in st.session_state:
14
  st.session_state.messages=[]
15
-
16
- flag=True
17
- while flag:
18
- try:
19
- pipeline = init_pipeline()
20
- flag=False
21
- except:
22
- install('transformers')
23
  st.subheader("AI Chaperone")
24
 
25
  for message in st.session_state.messages:
 
12
 
13
  if 'messages' not in st.session_state:
14
  st.session_state.messages=[]
15
+
16
+ pipeline = init_pipeline()
 
 
 
 
 
 
17
  st.subheader("AI Chaperone")
18
 
19
  for message in st.session_state.messages: