CoolFace
Apppublic

somosnlp-hackathon-2026/cultural-preferences

sourceHugging Faceupdated 4mo agoView on Hugging Face
4likes
App README

Hackathon 2026 — Cultural Preferences

Gradio Space used during the hackathon to let participants:

  1. 1.Read the annotation guidelines.
  2. 2.Write prompts that probe cultural preferences.
  3. 3.Validate prompts written by other participants.

Datasets

The Space reads from and writes to two private Hugging Face datasets:

  • —mariagrandury/hackathon_participants — registered participants (read-only).
  • —mariagrandury/cultural_preferences — prompts and validations (read/write).

Access requires the HF_TOKEN Space secret with read/write permissions on both private repos.

Local development

bash
pip install -r requirements.txt
export HF_TOKEN=hf_...      # token with access to the private datasets
python seed_datasets.py     # one-shot: create the dummy datasets
python app.py

Deploying to Hugging Face Spaces

The Space lives at somosnlp-hackathon-2026/cultural-preferences (private, Gradio SDK). Datasets stay under mariagrandury/.

  1. 1.Create the Space under the somosnlp-hackathon-2026 org (Gradio SDK, private). Skip the README template so the first push isn't blocked.
  2. 2.Add HF_TOKEN as a Space secret with read+write on the two datasets above.
  3. 3.Use ./deploy_to_space.sh to mirror only the runtime files (app.py, data.py, requirements.txt, README.md, guidelines/, images/) into a local clone of the Space repo, then git push from that clone. See the script header for details.