ofermend commited on
Commit
ca7e2a3
1 Parent(s): ecb6e4b
Files changed (2) hide show
  1. agent.py +0 -1
  2. app.py +2 -1
agent.py CHANGED
@@ -167,7 +167,6 @@ def get_agent_config() -> OmegaConf:
167
  'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
168
  'api_key': str(os.environ['VECTARA_API_KEY']),
169
  'examples': os.environ.get('QUERY_EXAMPLES', None),
170
- 'title': "Hacker News Assistant",
171
  'demo_welcome': "Welcome to the Hacker News Assistant demo.",
172
  'demo_description': "This demo can be used to ask about Hacker News.",
173
  'tavily_api_key': str(os.environ['TAVILY_API_KEY']),
 
167
  'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
168
  'api_key': str(os.environ['VECTARA_API_KEY']),
169
  'examples': os.environ.get('QUERY_EXAMPLES', None),
 
170
  'demo_welcome': "Welcome to the Hacker News Assistant demo.",
171
  'demo_description': "This demo can be used to ask about Hacker News.",
172
  'tavily_api_key': str(os.environ['TAVILY_API_KEY']),
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="Hacker News Assistant", layout="wide")
132
+ launch_bot()