We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f15c9 commit 43190e8Copy full SHA for 43190e8
taggui/run_gui.py
@@ -1,6 +1,7 @@
1
import sys
2
import traceback
3
4
+import transformers
5
from PySide6.QtGui import QImageReader
6
from PySide6.QtWidgets import QApplication, QMessageBox
7
@@ -23,6 +24,10 @@ def run_gui():
23
24
25
26
if __name__ == '__main__':
27
+ # Suppress warnings when running inside a bundled version of the
28
+ # application.
29
+ if sys.stdout is None:
30
+ transformers.logging.set_verbosity_error()
31
try:
32
run_gui()
33
except Exception as exception:
0 commit comments