-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Whisper service and its deps, and regen pom
- Loading branch information
1 parent
83d31f6
commit fe942bc
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.myrobotlab.service; | ||
|
||
import org.myrobotlab.framework.Service; | ||
import org.myrobotlab.service.config.ServiceConfig; | ||
|
||
public class Whisper extends Service<ServiceConfig> { | ||
/** | ||
* Constructor of service, reservedkey typically is a services name and inId | ||
* will be its process id | ||
* | ||
* @param reservedKey the service name | ||
* @param inId process id | ||
*/ | ||
public Whisper(String reservedKey, String inId) { | ||
super(reservedKey, inId); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/org/myrobotlab/service/meta/WhisperMeta.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.myrobotlab.service.meta; | ||
|
||
import org.myrobotlab.service.meta.abstracts.MetaData; | ||
|
||
public class WhisperMeta extends MetaData { | ||
public WhisperMeta() { | ||
addDescription("A local speech recognition service leveraging the popular whisper.cpp project."); | ||
addDependency("io.github.givimad", "whisper-jni", "1.4.2-6"); | ||
} | ||
} |