Skip to content

Commit

Permalink
fix: bugs and update
Browse files Browse the repository at this point in the history
  • Loading branch information
jianchang512 committed May 7, 2024
1 parent 730bc15 commit c816720
Show file tree
Hide file tree
Showing 26 changed files with 656 additions and 176 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
tmp
models/*.pt
models/models--Systran--faster-whisper-base
models/models--Systran--faster-whisper-tiny
dev
venv
venv.bak
Expand All @@ -23,7 +24,6 @@ __pycache__
*.aac
*副本.py
pretrained_models
voice_list.json
elevenlabs.json
pack.bat
gitcmd.bat
Expand Down
137 changes: 137 additions & 0 deletions videotrans/.codemap/application-shell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"bottomPanel": {
"config": {
"main": {
"type": "tab-area",
"widgets": [
{
"constructionOptions": {
"factoryId": "problems"
},
"innerWidgetState": {}
}
],
"currentIndex": 0
}
},
"expanded": false
},
"leftPanel": {
"type": "sidepanel",
"items": [
{
"widget": {
"constructionOptions": {
"factoryId": "explorer-view-container"
},
"innerWidgetState": {
"parts": [
{
"widget": {
"constructionOptions": {
"factoryId": "files"
},
"innerWidgetState": {
"decorations": {},
"root": {
"id": "WorkspaceNodeId",
"name": "WorkspaceNode",
"children": [
{
"id": "/f:/python/pyvideo/videotrans",
"uri": "file:///f%3A/python/pyvideo/videotrans",
"expanded": false,
"selected": true,
"children": [],
"visible": false,
"focus": true,
"stat": {
"type": 2,
"ctime": 1706166528040,
"mtime": 1715010304145,
"size": 0
}
}
],
"visible": false,
"selected": false
},
"model": {
"selection": {
"selectionStack": [
{
"focus": "/f:/python/pyvideo/videotrans",
"node": "/f:/python/pyvideo/videotrans",
"type": 1
}
]
}
}
}
},
"partId": "{\"factoryId\":\"files\"}",
"collapsed": false,
"hidden": false
}
],
"title": {
"label": "资源树",
"iconClass": "codemap-files-icon",
"closeable": true
}
}
},
"rank": 100,
"expanded": false
},
{
"widget": {
"constructionOptions": {
"factoryId": "search-in-workspace"
},
"innerWidgetState": {
"matchCaseState": {
"className": "match-case",
"enabled": true,
"title": "Match Case"
},
"wholeWordState": {
"className": "whole-word",
"enabled": true,
"title": "Match Whole Word"
},
"regExpState": {
"className": "use-regexp",
"enabled": false,
"title": "Use Regular Expression"
},
"includeIgnoredState": {
"className": "include-ignored fa fa-eye",
"enabled": false,
"title": "Include Ignored Files"
},
"showSearchDetails": false,
"searchInWorkspaceOptions": {
"matchCase": true,
"matchWholeWord": true,
"useRegExp": false,
"includeIgnored": false,
"include": [],
"exclude": [],
"maxResults": 2000
},
"searchTerm": "",
"replaceTerm": "",
"showReplaceField": false
}
},
"rank": 200,
"expanded": false
}
]
},
"rightPanel": {
"type": "sidepanel",
"items": []
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
{
"type": "float-area",
"_widgets": [
[
{
"widget": {
"constructionOptions": {
"factoryId": "code-editor-opener",
"options": {
"kind": "navigatable",
"uri": "file:///f%3A/python/pyvideo/videotrans/translator/__init__.py",
"floatAreaId": "68aadd64-af7c-41b3-a33e-bdb302469f8d"
}
},
"innerWidgetState": {
"cursorState": [
{
"inSelectionMode": true,
"selectionStart": {
"lineNumber": 3,
"column": 34
},
"position": {
"lineNumber": 3,
"column": 40
}
}
],
"viewState": {
"scrollLeft": 0,
"firstPosition": {
"lineNumber": 10,
"column": 1
},
"firstPositionDeltaTop": -16
},
"contributionsState": {
"editor.contrib.folding": {
"lineCount": 410,
"provider": "indent",
"foldedImports": false
},
"editor.contrib.wordHighlighter": false
}
}
},
"width": 600,
"height": 450,
"spacing": 0
},
{
"widget": {
"constructionOptions": {
"factoryId": "code-editor-opener",
"options": {
"kind": "navigatable",
"uri": "file:///f%3A/python/pyvideo/videotrans/mainwin/secwin.py",
"floatAreaId": "68aadd64-af7c-41b3-a33e-bdb302469f8d"
}
},
"innerWidgetState": {
"cursorState": [
{
"inSelectionMode": false,
"selectionStart": {
"lineNumber": 1,
"column": 1
},
"position": {
"lineNumber": 1,
"column": 1
}
}
],
"viewState": {
"scrollLeft": 0,
"firstPosition": {
"lineNumber": 1,
"column": 1
},
"firstPositionDeltaTop": 0
},
"contributionsState": {
"editor.contrib.folding": {
"lineCount": 1490,
"provider": "indent",
"foldedImports": false
},
"editor.contrib.wordHighlighter": false
}
}
},
"width": 600,
"height": 450,
"spacing": 0
},
{
"widget": {
"constructionOptions": {
"factoryId": "code-editor-opener",
"options": {
"kind": "navigatable",
"uri": "file:///f%3A/python/pyvideo/videotrans/mainwin/spwin.py",
"floatAreaId": "68aadd64-af7c-41b3-a33e-bdb302469f8d"
}
},
"innerWidgetState": {
"cursorState": [
{
"inSelectionMode": false,
"selectionStart": {
"lineNumber": 1,
"column": 1
},
"position": {
"lineNumber": 1,
"column": 1
}
}
],
"viewState": {
"scrollLeft": 0,
"firstPosition": {
"lineNumber": 1,
"column": 1
},
"firstPositionDeltaTop": 0
},
"contributionsState": {
"editor.contrib.folding": {
"lineCount": 509,
"provider": "indent",
"foldedImports": false
},
"editor.contrib.wordHighlighter": false
}
}
},
"width": 600,
"height": 450,
"spacing": 0
},
{
"widget": {
"constructionOptions": {
"factoryId": "code-editor-opener",
"options": {
"kind": "navigatable",
"uri": "file:///f%3A/python/pyvideo/videotrans/mainwin/subform.py",
"floatAreaId": "68aadd64-af7c-41b3-a33e-bdb302469f8d"
}
},
"innerWidgetState": {
"cursorState": [
{
"inSelectionMode": false,
"selectionStart": {
"lineNumber": 1,
"column": 1
},
"position": {
"lineNumber": 1,
"column": 1
}
}
],
"viewState": {
"scrollLeft": 0,
"firstPosition": {
"lineNumber": 1,
"column": 1
},
"firstPositionDeltaTop": 0
},
"contributionsState": {
"editor.contrib.folding": {
"collapsedRegions": [],
"lineCount": 791,
"foldedImports": false
},
"editor.contrib.wordHighlighter": false
}
}
},
"height": 450,
"spacing": 0
}
]
],
"_widths": [
600
],
"_modelData": {
"connections": [],
"annotations": [],
"highlights": []
}
}
7 changes: 7 additions & 0 deletions videotrans/.codemap/main-panel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"id": "68aadd64-af7c-41b3-a33e-bdb302469f8d",
"name": "画布 1",
"index": 0
}
]
1 change: 1 addition & 0 deletions videotrans/.codemap/user_keybindings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
4 changes: 2 additions & 2 deletions videotrans/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-

VERSION="v1.68"
VERSION_NUM=11068
VERSION="v1.69"
VERSION_NUM=110690

0 comments on commit c816720

Please sign in to comment.