Spaces:
Running on Zero
Running on Zero
Use generic Parakeet ASR route labels
Browse files- app.py +2 -2
- docs/figment-workback-plan.md +1 -1
- figment/audio_intake.py +1 -1
app.py
CHANGED
|
@@ -989,7 +989,7 @@ def _audio_section_title(config: FigmentConfig) -> str:
|
|
| 989 |
if config.audio_backend == "omni_native" and config.model_backend == "hosted_omni":
|
| 990 |
return "Hosted Omni audio draft"
|
| 991 |
if config.audio_backend == "parakeet_nemo":
|
| 992 |
-
return "
|
| 993 |
if config.audio_backend == "canned":
|
| 994 |
return "Canned audio demo draft"
|
| 995 |
return "Audio draft intake"
|
|
@@ -1004,7 +1004,7 @@ def _audio_section_subtitle(config: FigmentConfig) -> str:
|
|
| 1004 |
f"hosted endpoint; use only synthetic or de-identified clips. Limit: {hosted_audio_limits_text()}."
|
| 1005 |
)
|
| 1006 |
if config.audio_backend == "parakeet_nemo":
|
| 1007 |
-
return "Use
|
| 1008 |
if config.audio_backend == "canned":
|
| 1009 |
return "Use canned clips only as repeatable demo input, then confirm fields before rules run."
|
| 1010 |
return "Draft suggestions are provisional until the confirmed intake form is reviewed."
|
|
|
|
| 989 |
if config.audio_backend == "omni_native" and config.model_backend == "hosted_omni":
|
| 990 |
return "Hosted Omni audio draft"
|
| 991 |
if config.audio_backend == "parakeet_nemo":
|
| 992 |
+
return "Parakeet ASR draft"
|
| 993 |
if config.audio_backend == "canned":
|
| 994 |
return "Canned audio demo draft"
|
| 995 |
return "Audio draft intake"
|
|
|
|
| 1004 |
f"hosted endpoint; use only synthetic or de-identified clips. Limit: {hosted_audio_limits_text()}."
|
| 1005 |
)
|
| 1006 |
if config.audio_backend == "parakeet_nemo":
|
| 1007 |
+
return "Use configured Parakeet ASR for provisional field suggestions, then confirm fields before rules run."
|
| 1008 |
if config.audio_backend == "canned":
|
| 1009 |
return "Use canned clips only as repeatable demo input, then confirm fields before rules run."
|
| 1010 |
return "Draft suggestions are provisional until the confirmed intake form is reviewed."
|
docs/figment-workback-plan.md
CHANGED
|
@@ -495,7 +495,7 @@ Audio field-fill suggestions are a separate pre-navigation object and do **not**
|
|
| 495 |
```json
|
| 496 |
{
|
| 497 |
"task": "audio_intake_draft",
|
| 498 |
-
"audio_intake_path": "omni_native | canned_audio_demo | typed_only | audio_received_needs_transcript_or_model |
|
| 499 |
"audio_model_id": "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16 | nvidia/parakeet-rnnt-1.1b",
|
| 500 |
"field_fill_model_id": null,
|
| 501 |
"audio_runtime": "omni_native | hosted_omni | parakeet_nemo | canned | none | unprocessed_audio",
|
|
|
|
| 495 |
```json
|
| 496 |
{
|
| 497 |
"task": "audio_intake_draft",
|
| 498 |
+
"audio_intake_path": "omni_native | canned_audio_demo | typed_only | audio_received_needs_transcript_or_model | parakeet_asr_plus_text_nemotron",
|
| 499 |
"audio_model_id": "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16 | nvidia/parakeet-rnnt-1.1b",
|
| 500 |
"field_fill_model_id": null,
|
| 501 |
"audio_runtime": "omni_native | hosted_omni | parakeet_nemo | canned | none | unprocessed_audio",
|
figment/audio_intake.py
CHANGED
|
@@ -23,7 +23,7 @@ from .schemas import AudioDraft, AudioFieldSuggestion
|
|
| 23 |
|
| 24 |
LOCAL_PARAKEET_AUDIO_BACKENDS = {"parakeet_nemo", "local_4b_parakeet"}
|
| 25 |
LOCAL_PARAKEET_RUNTIME = "local_4b_parakeet"
|
| 26 |
-
LOCAL_PARAKEET_PATH = "
|
| 27 |
DEMO_AUDIO_MANIFEST_PATH = Path(__file__).resolve().parents[1] / "data" / "demo_audio" / "manifest.json"
|
| 28 |
ALLOWED_AUDIO_SUGGESTION_FIELDS = {
|
| 29 |
"setting",
|
|
|
|
| 23 |
|
| 24 |
LOCAL_PARAKEET_AUDIO_BACKENDS = {"parakeet_nemo", "local_4b_parakeet"}
|
| 25 |
LOCAL_PARAKEET_RUNTIME = "local_4b_parakeet"
|
| 26 |
+
LOCAL_PARAKEET_PATH = "parakeet_asr_plus_text_nemotron"
|
| 27 |
DEMO_AUDIO_MANIFEST_PATH = Path(__file__).resolve().parents[1] / "data" / "demo_audio" / "manifest.json"
|
| 28 |
ALLOWED_AUDIO_SUGGESTION_FIELDS = {
|
| 29 |
"setting",
|