Spaces:
Sleeping
Sleeping
John Graham Reynolds
commited on
Commit
·
b33b782
1
Parent(s):
f4cddb7
set maximum turns to 20
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ if DATABRICKS_TOKEN is None:
|
|
| 16 |
raise ValueError("DATABRICKS_TOKEN environment variable must be set")
|
| 17 |
|
| 18 |
MODEL_AVATAR_URL= "./VU.jpeg"
|
| 19 |
-
MAX_CHAT_TURNS =
|
| 20 |
MSG_MAX_TURNS_EXCEEDED = f"Sorry! The Vanderbilt AI assistant playground is limited to {MAX_CHAT_TURNS} turns in a single history. Click the 'Clear Chat' button or refresh the page to start a new conversation."
|
| 21 |
# MSG_CLIPPED_AT_MAX_OUT_TOKENS = "Reached maximum output tokens for DBRX Playground"
|
| 22 |
|
|
|
|
| 16 |
raise ValueError("DATABRICKS_TOKEN environment variable must be set")
|
| 17 |
|
| 18 |
MODEL_AVATAR_URL= "./VU.jpeg"
|
| 19 |
+
MAX_CHAT_TURNS = 20 # limit this for preliminary testing
|
| 20 |
MSG_MAX_TURNS_EXCEEDED = f"Sorry! The Vanderbilt AI assistant playground is limited to {MAX_CHAT_TURNS} turns in a single history. Click the 'Clear Chat' button or refresh the page to start a new conversation."
|
| 21 |
# MSG_CLIPPED_AT_MAX_OUT_TOKENS = "Reached maximum output tokens for DBRX Playground"
|
| 22 |
|