linden-li commited on
Commit
2c9ce84
1 Parent(s): 8a02502

Fix documentation

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -6,6 +6,7 @@ import threading
6
  from tenacity import retry, wait_random_exponential, stop_after_attempt
7
  from itertools import tee
8
 
 
9
  BASE_URL = os.environ.get("BASE_URL")
10
  DATABRICKS_API_TOKEN = os.environ.get("DATABRICKS_API_TOKEN")
11
  SAFETY_FILTER_ENV = os.environ.get("SAFETY_FILTER")
@@ -75,8 +76,9 @@ EXAMPLE_PROMPTS = [
75
  ]
76
 
77
  TITLE = "DBRX Instruct"
78
- DESCRIPTION = """[DBRX Instruct](https://huggingface.co/databricks/dbrx-instruct) is a mixture-of-experts (MoE) large language model trained by the Mosaic Research team at Databricks. Users can interact with this model in the [DBRX Playground](https://huggingface.co/spaces/databricks/dbrx-instruct), subject to the terms and conditions below.
79
- This demo is powered by [Databricks Foundation Model APIs](https://docs.databricks.com/en/machine-learning/foundation-models/index.html).
 
80
 
81
  **Usage Policies**: Use of DBRX Instruct is governed by the [DBRX License](https://www.databricks.com/legal/open-model-license) and [Acceptable Use Policy](https://www.databricks.com/legal/acceptable-use-policy-open-model).
82
  **Limitations**: The DBRX Playground is a demo showcasing DBRX Instruct for educational purposes. Given the probabilistic nature of large language models like DBRX Instruct, information they output may be inaccurate, incomplete, biased, or offensive, and users should exercise judgment and evaluate such output for accuracy and appropriateness for their desired use case before using or sharing it.
 
6
  from tenacity import retry, wait_random_exponential, stop_after_attempt
7
  from itertools import tee
8
 
9
+
10
  BASE_URL = os.environ.get("BASE_URL")
11
  DATABRICKS_API_TOKEN = os.environ.get("DATABRICKS_API_TOKEN")
12
  SAFETY_FILTER_ENV = os.environ.get("SAFETY_FILTER")
 
76
  ]
77
 
78
  TITLE = "DBRX Instruct"
79
+ # DESCRIPTION = """[DBRX Instruct](https://huggingface.co/databricks/dbrx-instruct) is a mixture-of-experts (MoE) large language model trained by the Mosaic Research team at Databricks. Users can interact with this model in the [DBRX Playground](https://huggingface.co/spaces/databricks/dbrx-instruct), subject to the terms and conditions below.
80
+ # This demo is powered by [Databricks Foundation Model APIs](https://docs.databricks.com/en/machine-learning/foundation-models/index.html).
81
+ DESCRIPTION="""[DBRX Instruct](https://huggingface.co/databricks/dbrx-instruct) is a mixture-of-experts (MoE) large language model trained by the Mosaic Research team at Databricks. This demo is powered by [Databricks Foundation Model APIs](https://docs.databricks.com/en/machine-learning/foundation-models/index.html) and is subject to the terms and conditions below.
82
 
83
  **Usage Policies**: Use of DBRX Instruct is governed by the [DBRX License](https://www.databricks.com/legal/open-model-license) and [Acceptable Use Policy](https://www.databricks.com/legal/acceptable-use-policy-open-model).
84
  **Limitations**: The DBRX Playground is a demo showcasing DBRX Instruct for educational purposes. Given the probabilistic nature of large language models like DBRX Instruct, information they output may be inaccurate, incomplete, biased, or offensive, and users should exercise judgment and evaluate such output for accuracy and appropriateness for their desired use case before using or sharing it.