Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,6 @@ def launch_bot():
|
|
38 |
'corpus_keys': corpus_keys,
|
39 |
'api_key': str(os.environ['api_key']),
|
40 |
'title': os.environ['title'],
|
41 |
-
'description': os.environ['description'],
|
42 |
'source_data_desc': os.environ['source_data_desc'],
|
43 |
'streaming': isTrue(os.environ.get('streaming', False)),
|
44 |
'prompt_name': os.environ.get('prompt_name', None),
|
@@ -74,7 +73,6 @@ def launch_bot():
|
|
74 |
|
75 |
|
76 |
st.markdown(f"<center> <h2> Vectara AI Assistant: {cfg.title} </h2> </center>", unsafe_allow_html=True)
|
77 |
-
# st.markdown(f"<center> <h4> {cfg.description} </h4> </center>", unsafe_allow_html=True)
|
78 |
|
79 |
if "messages" not in st.session_state.keys():
|
80 |
st.session_state.messages = [{"role": "assistant", "content": "How may I help you?"}]
|
|
|
38 |
'corpus_keys': corpus_keys,
|
39 |
'api_key': str(os.environ['api_key']),
|
40 |
'title': os.environ['title'],
|
|
|
41 |
'source_data_desc': os.environ['source_data_desc'],
|
42 |
'streaming': isTrue(os.environ.get('streaming', False)),
|
43 |
'prompt_name': os.environ.get('prompt_name', None),
|
|
|
73 |
|
74 |
|
75 |
st.markdown(f"<center> <h2> Vectara AI Assistant: {cfg.title} </h2> </center>", unsafe_allow_html=True)
|
|
|
76 |
|
77 |
if "messages" not in st.session_state.keys():
|
78 |
st.session_state.messages = [{"role": "assistant", "content": "How may I help you?"}]
|