I Built a $6 Menu Translator Cafes Actually Want (Gemma Local, $0 API Cost)
说明与用途
本地化菜单翻译器,离线运行,使用开源Gemma模型,数据保存在餐厅本地,30道菜+二维码一次性收费₹499($6)。
问题
Restaurant owners lose foreign customers daily because generic translation apps misinterpret dish names, require internet, and send recipes to uncontrolled servers.
结果
The solution allows a single-location restaurant to pay a one-time fee of ₹499 ($6) for 30 dishes plus QR, with no monthly SaaS costs, zero marginal cost per translation, and full data privacy.
工作流
- Install dependencies with
pip install -r requirements.txt - Run offline CLI demo with
python demo.pyto translate sample dishes - Run Gradio UI with
python app.pyto translate user input and view provenance - Optionally enable Gemma local by setting
HF_TOKENin.envand restarting the app
证据
Owners lose foreign customers daily to “what is Chole Bhature?” Generic translate apps mangle dish names, need internet, and send recipes to a server they don’t control.
₹499 / $6 one-time for 30 dishes + QR. No monthly SaaS, your recipes never leave your laptop.
Local demo (2 min, no GPU, zero downloads for phrasebook mode): pip install -r requirements.txt python demo.py # offline CLI — 5 dishes python app.py # Gradio UI on http://localhost:7860
- 记录日期: 2026-10-13T07:40:56.182Z