Skip to content

Commit 7922f21

Browse files
authored
Update constants.py
1 parent 0e6d3e4 commit 7922f21

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

fastchat/constants.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,19 @@
88
REPO_PATH = os.path.dirname(os.path.dirname(__file__))
99

1010
# Survey Link URL (to be removed) #00729c
11-
SURVEY_LINK = """<div style='text-align: left; margin: 20px 0;'>
12-
<div style='display: inline-block; border: 2px solid #00729c; padding: 20px; padding-bottom: 10px; padding-top: 10px; border-radius: 5px;'>
13-
<span style='color: #00729c; font-weight: bold;'>New Launch! Copilot Arena: <a href='https://marketplace.visualstudio.com/items?itemName=copilot-arena.copilot-arena' style='color: #00729c; text-decoration: underline;'>VS Code Extension</a> to compare Top LLMs</span>
11+
# SURVEY_LINK = """<div style='text-align: left; margin: 20px 0;'>
12+
# <div style='display: inline-block; border: 2px solid #00729c; padding: 20px; padding-bottom: 10px; padding-top: 10px; border-radius: 5px;'>
13+
# <span style='color: #00729c; font-weight: bold;'>New Launch! Copilot Arena: <a href='https://marketplace.visualstudio.com/items?itemName=copilot-arena.copilot-arena' style='color: #00729c; text-decoration: underline;'>VS Code Extension</a> to compare Top LLMs</span>
14+
# </div>
15+
# </div>"""
16+
# SURVEY_LINK = ""
17+
18+
COLOR = "#008B8B"
19+
SURVEY_LINK = f"""<div style='text-align: left; margin: 20px 0;'>
20+
<div style='display: inline-block; border: 2px solid {COLOR}; padding: 20px; padding-bottom: 10px; padding-top: 10px; border-radius: 5px; background-color: #ECFAE5'>
21+
<span style='color: {COLOR}; font-weight: bold;'>New Arena UI at <a href='https://beta.lmarena.ai/'>BETA.lmarena.ai</a>! Check it out & give feedback!</a></span>
1422
</div>
1523
</div>"""
16-
# SURVEY_LINK = ""
1724

1825
##### For the gradio web server
1926
SERVER_ERROR_MSG = (

0 commit comments

Comments
 (0)