ofermend commited on
Commit
ecd3f09
1 Parent(s): 31e3393

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,11 +12,11 @@ def launch_bot():
12
  response = vq.submit_query(question)
13
  return response
14
 
15
- corpus_ids = list(eval(os.environ['corpus_ids']))
16
  questions = list(eval(os.environ['examples']))
17
  cfg = OmegaConf.create({
18
  'customer_id': str(os.environ['customer_id']),
19
- 'corpus_ids': str(corpus_ids),
20
  'api_key': str(os.environ['api_key']),
21
  'title': os.environ['title'],
22
  'description': os.environ['description'],
 
12
  response = vq.submit_query(question)
13
  return response
14
 
15
+ corpus_ids = list(eval(str(os.environ['corpus_ids'])))
16
  questions = list(eval(os.environ['examples']))
17
  cfg = OmegaConf.create({
18
  'customer_id': str(os.environ['customer_id']),
19
+ 'corpus_ids': corpus_ids,
20
  'api_key': str(os.environ['api_key']),
21
  'title': os.environ['title'],
22
  'description': os.environ['description'],