Team Ai
Apppublic

waynelmccoy/Discount4U_simulation

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

title: Discount4U Dash (HF Docker) emoji: ๐Ÿ›๏ธ colorFrom: blue colorTo: green sdk: docker app_port: 7860 pinned: false ---

Discount4U โ€” Dash on Hugging Face Spaces (Docker)

This Space runs a Dash app with gunicorn under Docker. The instructor unlock key is hardcoded in app.py for the free plan (no Variables tab): D4U2025.

Deploy steps

  1. 1.Create a Space โ†’ SDK: Docker โ†’ Public โ†’ Create.
  2. 2.Go to Files and Versions โ†’ Add file โ†’ Upload files.
  3. 3.Upload all four files from this package: Dockerfile, requirements.txt, app.py, README.md โ†’ Commit.
  4. 4.Wait for the build to finish; the Space will go live automatically on port 7860.

Local dev (optional)

bash
pip install -r requirements.txt
python app.py  # http://127.0.0.1:8050