mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: remove useless thing
This commit is contained in:
parent
5c544a5ca7
commit
bd7aac0517
53 changed files with 350 additions and 2639 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { ShamrockTokenizer, Tokenizer } from './tokenizer.js'
|
||||
import Tokenizer from './tokenizer.js'
|
||||
import { render } from '../common.js'
|
||||
|
||||
export async function makeWordcloud (e, groupId, duration = 0, userId) {
|
||||
|
|
@ -12,8 +12,8 @@ export async function makeWordcloud (e, groupId, duration = 0, userId) {
|
|||
|
||||
function getTokenizer (e) {
|
||||
if (e.adapter === 'shamrock') {
|
||||
return new ShamrockTokenizer()
|
||||
return Tokenizer.shamrock
|
||||
} else {
|
||||
return new Tokenizer()
|
||||
return Tokenizer.default
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue