ofermend commited on
Commit
c78c307
1 Parent(s): 1dac99b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -15,14 +15,12 @@ def launch_bot():
15
 
16
  if 'cfg' not in st.session_state:
17
  corpus_ids = str(os.environ['corpus_ids']).split(',')
18
- questions = list(eval(os.environ['examples']))
19
  cfg = OmegaConf.create({
20
  'customer_id': str(os.environ['customer_id']),
21
  'corpus_ids': corpus_ids,
22
  'api_key': str(os.environ['api_key']),
23
  'title': os.environ['title'],
24
  'description': os.environ['description'],
25
- 'examples': questions,
26
  'source_data_desc': os.environ['source_data_desc']
27
  })
28
  st.session_state.cfg = cfg
 
15
 
16
  if 'cfg' not in st.session_state:
17
  corpus_ids = str(os.environ['corpus_ids']).split(',')
 
18
  cfg = OmegaConf.create({
19
  'customer_id': str(os.environ['customer_id']),
20
  'corpus_ids': corpus_ids,
21
  'api_key': str(os.environ['api_key']),
22
  'title': os.environ['title'],
23
  'description': os.environ['description'],
 
24
  'source_data_desc': os.environ['source_data_desc']
25
  })
26
  st.session_state.cfg = cfg