Spaces:
Running
Running
NA
Browse files
agent.py
CHANGED
@@ -137,7 +137,6 @@ def get_agent_config() -> OmegaConf:
|
|
137 |
'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
|
138 |
'api_key': str(os.environ['VECTARA_API_KEY']),
|
139 |
'examples': os.environ.get('QUERY_EXAMPLES', None),
|
140 |
-
'title': "Financial Assistant",
|
141 |
'demo_welcome': "Welcome to the Financial Assistant demo.",
|
142 |
'demo_description': f"This assistant can help you with any questions about the financials of several companies:\n\n **{companies}**.\n"
|
143 |
})
|
|
|
137 |
'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
|
138 |
'api_key': str(os.environ['VECTARA_API_KEY']),
|
139 |
'examples': os.environ.get('QUERY_EXAMPLES', None),
|
|
|
140 |
'demo_welcome': "Welcome to the Financial Assistant demo.",
|
141 |
'demo_description': f"This assistant can help you with any questions about the financials of several companies:\n\n **{companies}**.\n"
|
142 |
})
|
app.py
CHANGED
@@ -128,4 +128,5 @@ def launch_bot():
|
|
128 |
sys.stdout.flush()
|
129 |
|
130 |
if __name__ == "__main__":
|
|
|
131 |
launch_bot()
|
|
|
128 |
sys.stdout.flush()
|
129 |
|
130 |
if __name__ == "__main__":
|
131 |
+
st.set_page_config(page_title="Financial Assistant", layout="wide")
|
132 |
launch_bot()
|