-
Notifications
You must be signed in to change notification settings - Fork 25
Diar 5 #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diar 5 #195
Changes from all commits
67cfede
9b0a4f7
1df0dca
d8a4810
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,9 @@ fi | |
|
|
||
| print_info "Speaker Recognition Integration Test Runner" | ||
| print_info "==========================================" | ||
|
|
||
| # Load environment variables (CI or local) | ||
| if [ -f ".env" ]; then | ||
| print_info ".env file exists: $([ -f .env ] && echo 'yes' || echo 'no')" | ||
|
Comment on lines
+59
to
61
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical syntax error: orphaned if statement. Lines 60-61 contain an unclosed Apply this diff to fix the syntax error: -
-if [ -f ".env" ]; then
-print_info ".env file exists: $([ -f .env ] && echo 'yes' || echo 'no')"
-
# Load environment variables (CI or local)
if [ -f ".env" ] && [ -z "${HF_TOKEN:-}" ]; then
🤖 Prompt for AI Agents |
||
|
|
||
| # Load environment variables (CI or local) | ||
|
|
@@ -109,8 +112,10 @@ if [ -z "$DEEPGRAM_API_KEY" ]; then | |
| exit 1 | ||
| fi | ||
|
|
||
| print_info "HF_TOKEN length: ${#HF_TOKEN}" | ||
| print_info "DEEPGRAM_API_KEY length: ${#DEEPGRAM_API_KEY}" | ||
| # Now we can safely check the variables | ||
| print_info "Environment configuration:" | ||
| print_info " HF_TOKEN length: ${#HF_TOKEN}" | ||
| print_info " DEEPGRAM_API_KEY length: ${#DEEPGRAM_API_KEY}" | ||
|
|
||
| # Export variables early so docker compose can use them | ||
| export HF_TOKEN | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format the bare URL as a markdown link.
Line 19 contains a bare URL that should be wrapped in markdown link syntax for proper formatting and compliance with markdown standards.
Apply this diff to format the URL correctly:
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
19-19: Bare URL used
(MD034, no-bare-urls)
🤖 Prompt for AI Agents