This commit is contained in:
Physton
2023-07-01 10:11:10 +08:00
parent 4a381bdf2e
commit a0b0e39e9a
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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