fix bug
parent
4a381bdf2e
commit
a0b0e39e9a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -522,11 +522,12 @@ export default {
|
|||
localStorage.setItem('phystonPromptEnableTooltip', this.enableTooltip ? 'true' : 'false')
|
||||
this.updateTippyState()
|
||||
if (data.translateApi !== null) {
|
||||
if (data.translateApi === 'alibaba_free') {
|
||||
this.translateApi = data.translateApi
|
||||
/*if (data.translateApi === 'alibaba_free') {
|
||||
this.gradioAPI.setData('translateApi', this.translateApi)
|
||||
} else {
|
||||
this.translateApi = data.translateApi
|
||||
}
|
||||
}*/
|
||||
}
|
||||
if (data.tagCompleteFile !== null) {
|
||||
this.tagCompleteFile = data.tagCompleteFile
|
||||
|
|
|
|||
Loading…
Reference in New Issue