-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
litongjava
committed
Dec 21, 2023
1 parent
40e911c
commit 0623ebf
Showing
8 changed files
with
26 additions
and
16 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
15 changes: 15 additions & 0 deletions
15
...server/src/main/java/com/litongjava/ai/server/padddle/ocr/controller/IndexController.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,15 @@ | ||
package com.litongjava.ai.server.padddle.ocr.controller; | ||
|
||
import com.litongjava.jfinal.aop.annotation.Controller; | ||
import com.litongjava.tio.http.server.annotation.EnableCORS; | ||
import com.litongjava.tio.http.server.annotation.RequestPath; | ||
|
||
@EnableCORS | ||
@Controller | ||
@RequestPath(value = "/") | ||
public class IndexController { | ||
@RequestPath() | ||
public String respText() { | ||
return "paddle-ocr-server"; | ||
} | ||
} |
7 changes: 2 additions & 5 deletions
7
...isper-asr-server/src/main/java/com/litongjava/aio/server/tio/config/WhisperAsrConfig.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
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
2 changes: 1 addition & 1 deletion
2
...er-asr-server/src/main/java/com/litongjava/aio/server/tio/controller/IndexController.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
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