Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
saharmor authored Aug 24, 2023
1 parent 1eac608 commit 426cb85
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions interface/src/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
export const MIC_SAMPLE_RATE = 16000;
export const BLOCK_SIZE = 8192;
export const TRANSCRIPTION_METHODS = ["real-time", "sequential"];
export const BACKEND_ADDRESS = "http://localhost:8000";
export const STEP_SIZE = 0.5; // must conform to backend config
export const INITIALIZATION_DURATION = 5; // the time it takes the diarization pipeline to initialize in the real-time mode, must conform to backend config
export const DEFAULT_STATUS = "Ready to transcribe"; // the status that will be displayed when no actions are taking place
export const WHISPER_MODEL_OPTIONS = [
"tiny",
"base",
Expand All @@ -8,11 +13,6 @@ export const WHISPER_MODEL_OPTIONS = [
"large-v1",
"large-v2",
];
export const TRANSCRIPTION_METHODS = ["real-time", "sequential"];
export const BACKEND_ADDRESS = "http://localhost:8000";
export const STEP_SIZE = 0.5; // must conform to backend config
export const INITIALIZATION_DURATION = 5; // the time it takes the diarization pipeline to initialize in the real-time mode, must conform to backend config
export const DEFAULT_STATUS = "Ready for transcription."; // the status that will be displayed when no actions are taking place
export const SUPPORTED_LANGUAGES = [
"english",
"chinese",
Expand Down

0 comments on commit 426cb85

Please sign in to comment.