Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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':
|
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'],
|