Skip to content

Commit

Permalink
fixup upload script
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed May 10, 2023
1 parent 3bbccd4 commit 7ca9b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/video_subtitles/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, on_drop_callback): # pylint: disable=too-many-statements

model_layout = QHBoxLayout()
self.model_label = QLabel(self)
self.model_label.setText("Model:")
self.model_label.setText("AI Transcription Model:")
self.model_select = QComboBox(self)
self.model_select.addItems(MODELS.keys())
self.model_select.setCurrentText(settings.model())
Expand Down
3 changes: 1 addition & 2 deletions upload_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import sys

PYTHON_EXE = sys.executable
PIP_EXE = os.path.join(os.path.dirname(PYTHON_EXE), "pip")

# Equivalent to 'rm -rf build dist'
if os.path.exists('build'):
Expand All @@ -19,7 +18,7 @@
shutil.rmtree('dist', ignore_errors=True)

# Equivalent to 'pip install wheel twine'
subprocess.check_call([PIP_EXE, 'install', 'wheel', 'twine'])
subprocess.check_call(["pip", 'install', 'wheel', 'twine'])

print("Building Source and Wheel (universal) distribution…")
# Equivalent to 'python setup.py sdist bdist_wheel --universal'
Expand Down

0 comments on commit 7ca9b43

Please sign in to comment.