Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1229,6 +1229,14 @@ def create_demo() -> gr.Blocks:
|
|
| 1229 |
b["refresh_btn"].click(fn=lambda s=spec: on_refresh(s), inputs=[], outputs=[b["leaderboard"]])
|
| 1230 |
b["tab"].select(fn=lambda s=spec: on_refresh(s), inputs=[], outputs=[b["leaderboard"]])
|
| 1231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1232 |
try:
|
| 1233 |
demo.load(fn=lambda: on_refresh(MAIN_ARENA), inputs=[], outputs=[lb["main"]["leaderboard"]], show_progress="hidden")
|
| 1234 |
except Exception:
|
|
|
|
| 1229 |
b["refresh_btn"].click(fn=lambda s=spec: on_refresh(s), inputs=[], outputs=[b["leaderboard"]])
|
| 1230 |
b["tab"].select(fn=lambda s=spec: on_refresh(s), inputs=[], outputs=[b["leaderboard"]])
|
| 1231 |
|
| 1232 |
+
gr.Markdown(
|
| 1233 |
+
"<div style=\"text-align:center; font-size:12px; opacity:0.65;\">"
|
| 1234 |
+
"All prompts and responses are logged and shared publicly. "
|
| 1235 |
+
"Do not enter any harmful or personal information. "
|
| 1236 |
+
"Models may output incorrect, harmful, or offensive responses."
|
| 1237 |
+
"</div>"
|
| 1238 |
+
)
|
| 1239 |
+
|
| 1240 |
try:
|
| 1241 |
demo.load(fn=lambda: on_refresh(MAIN_ARENA), inputs=[], outputs=[lb["main"]["leaderboard"]], show_progress="hidden")
|
| 1242 |
except Exception:
|