aaronsnoswell commited on
Commit
92f26e3
Β·
verified Β·
1 Parent(s): 7b4b619

Fix dataset name in footer

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -254,9 +254,10 @@ This simulates the data annotation process used in RLHF (Reinforcement Learning
254
  right_better_btn = gr.Button("πŸ‘‰ Right is Better", variant="primary", size="lg")
255
 
256
  # Add info about dataset saving
257
- gr.Markdown(f"""
258
- **Status**: {'βœ… Connected. Annotations are saved to a HuggingFace dataset: [`{DATASET_NAME}`](https://huggingface.co/datasets/{DATASET_NAME})' if HF_TOKEN else '❌ Not connected (annotations will not be saved).'}
259
- """)
 
260
 
261
  # Wire up the buttons
262
  left_better_btn.click(
 
254
  right_better_btn = gr.Button("πŸ‘‰ Right is Better", variant="primary", size="lg")
255
 
256
  # Add info about dataset saving
257
+ status_msg = "**Status:** ❌ Not connected (annotations will not be saved)."
258
+ if HF_TOKEN:
259
+ status_msg = f"**Status:** βœ… Connected. Annotations are being saved to [{DATASET_NAME}](https://huggingface.co/datasets/{DATASET_NAME})"
260
+ gr.Markdown(status_msg)
261
 
262
  # Wire up the buttons
263
  left_better_btn.click(