ignored import row
Browse files
run.py
CHANGED
@@ -14,7 +14,7 @@ def start():
|
|
14 |
on_start()
|
15 |
|
16 |
print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with arguments: {' '.join(sys.argv[1:])}")
|
17 |
-
import webui # noqa
|
18 |
if '--nowebui' in sys.argv:
|
19 |
webui.api_only()
|
20 |
else:
|
|
|
14 |
on_start()
|
15 |
|
16 |
print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with arguments: {' '.join(sys.argv[1:])}")
|
17 |
+
import webui # type: ignore # noqa
|
18 |
if '--nowebui' in sys.argv:
|
19 |
webui.api_only()
|
20 |
else:
|