pat-compiler-app / README.md
modulus-bot
Space: Qwen->numeric parser + Modulus proxy
afb0390

A newer version of the Gradio SDK is available: 6.13.0

Upgrade
metadata
title: Modulus Chat (Qwen  Modulus)
emoji: 🧮
colorFrom: blue
colorTo: green
sdk: gradio
app_file: app.py
pinned: false

This Space uses Qwen to translate natural language math prompts into strict numeric expressions and forwards them to the Modulus API for certified results.

Secrets to add in Space settings:

  • PAT_API_URL = https://modulus-865475771210.europe-west1.run.app
  • PAT_API_KEY = demo-key (or your key)
  • HMAC_SECRET = optional; set only if enabled on Cloud Run
  • QWEN_API_URL = optional custom endpoint for Qwen parser
  • QWEN_MODEL_ID + HF_TOKEN = alternative to call HF Inference API