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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,9 +15,9 @@ def launch_bot():
15
  corpus_ids = list(eval(os.environ['corpus_ids']))
16
  questions = list(eval(os.environ['examples']))
17
  cfg = OmegaConf.create({
18
- 'customer_id': os.environ['customer_id'],
19
- 'corpus_ids': corpus_ids,
20
- 'api_key': os.environ['api_key'],
21
  'title': os.environ['title'],
22
  'description': os.environ['description'],
23
  'examples': questions,
 
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'],
23
  'examples': questions,