Spaces:
Sleeping
Sleeping
NA
Browse files
agent.py
CHANGED
|
@@ -107,7 +107,6 @@ def get_agent_config() -> OmegaConf:
|
|
| 107 |
'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
|
| 108 |
'api_key': str(os.environ['VECTARA_API_KEY']),
|
| 109 |
'examples': os.environ.get('QUERY_EXAMPLES', None),
|
| 110 |
-
'title': "Justice Harvard Teaching Assistant",
|
| 111 |
'demo_welcome': "Welcome to the Justice Harvard e-learning assistant demo.",
|
| 112 |
'demo_description': "Ask questions about the Justice Harvard class and get answers from an expert teaching assistant.",
|
| 113 |
'style': teaching_styles[0],
|
|
|
|
| 107 |
'corpus_id': str(os.environ['VECTARA_CORPUS_ID']),
|
| 108 |
'api_key': str(os.environ['VECTARA_API_KEY']),
|
| 109 |
'examples': os.environ.get('QUERY_EXAMPLES', None),
|
|
|
|
| 110 |
'demo_welcome': "Welcome to the Justice Harvard e-learning assistant demo.",
|
| 111 |
'demo_description': "Ask questions about the Justice Harvard class and get answers from an expert teaching assistant.",
|
| 112 |
'style': teaching_styles[0],
|
app.py
CHANGED
|
@@ -154,4 +154,5 @@ def launch_bot():
|
|
| 154 |
sys.stdout.flush()
|
| 155 |
|
| 156 |
if __name__ == "__main__":
|
|
|
|
| 157 |
launch_bot()
|
|
|
|
| 154 |
sys.stdout.flush()
|
| 155 |
|
| 156 |
if __name__ == "__main__":
|
| 157 |
+
st.set_page_config(page_title="Justice Harard Teching Assistant", layout="wide")
|
| 158 |
launch_bot()
|