driftcall-demo / README.md
saumilyajj's picture
Upload folder using huggingface_hub
be32374 verified

A newer version of the Gradio SDK is available: 6.17.3

Upgrade
metadata
title: DriftCall Demo
emoji: πŸŽ™οΈ
colorFrom: pink
colorTo: indigo
sdk: gradio
sdk_version: 5.8.0
app_file: app.py
pinned: true
license: apache-2.0
short_description: Indic voice concierge β€” base vs trained Gemma-3n LoRA
tags:
  - gradio
  - voice
  - asr
  - tts
  - indic
  - rl
  - lora
  - gemma-3n
models:
  - unsloth/gemma-3n-E2B-it
  - DGXAI/gemma-3n-e2b-driftcall-lora

DriftCall Demo β€” Voice Concierge under Schema Drift

Live Gradio demo of the DriftCall RL environment. Speak a query in Hindi / Tamil / Kannada / English / Hinglish; the agent (Gemma-3n-E2B + DriftCall LoRA) plans across cab / hotel / airline / restaurant / payment vendors while mid-episode drift hits the schemas.

Pipeline

mic ──▢ faster-whisper ASR ──▢ DriftCallEnv ──▢ Gemma-3n + LoRA ──▢ Kokoro TTS ──▢ speaker
                                    β–²                  β”‚
                                    β”‚                  β–Ό
                            drift toggle        live trace panel

Models

Build / deploy

# from the repo root
bash deploy/demo_space/build.sh           # build deploy/demo_space/build/
bash deploy/demo_space/build.sh --push    # build + hf upload as a Space

# env vars
HF_SPACE_REPO  default: DGXAI/driftcall-demo
HF_TOKEN       required for --push

Latency budget

  • ZeroGPU warm: ≀ 8 s round-trip
  • A10G warm: ≀ 12 s round-trip

If a hardware probe falls outside the budget, the UI surfaces a status_msg warning instead of crashing β€” the 9 documented error modes (5.1–5.9 in docs/modules/deploy_demo_space.md) all return positional safe defaults.

Sources

This Space is built from deploy/demo_space/build.sh which rsyncs the canonical sources at the repo root:

  • demo/app_gradio.py β€” Gradio app (renamed to app.py in the build)
  • cells/ β€” env, models, drift injector, audio, …
  • data/ β€” briefs, drift patterns, API schemas
  • requirements.txt β€” Gradio + faster-whisper + Kokoro + unsloth + peft