Update app.py
Browse files
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,
|