Skip to content

Commit

Permalink
speech_commands: update WAS multinet API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
stintel authored and kristiankielhofner committed Oct 11, 2023
1 parent 985375c commit a81ca97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion speech_commands/generate_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@

# sdkconfig has WebSocket URL
was_url = re.sub("^ws", "http", was_url)
was_url = re.sub("/ws$", "/api/multinet", was_url)
was_url = re.sub("/ws$", "/api/config", was_url)
was_url = f"{was_url}?type=multinet"

try:
response = get(was_url)
Expand Down

0 comments on commit a81ca97

Please sign in to comment.