Spaces:
Running
on
Zero
Running
on
Zero
Update port
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
# Copyright (C) 2024 Apple Inc. All rights reserved.
|
3 |
import spaces
|
4 |
import os
|
5 |
-
os.system("pip uninstall torchvision -y")
|
6 |
os.system("pip install --upgrade ./ml_mdm-1.0-py3-none-any.whl")
|
7 |
|
8 |
import logging
|
@@ -551,6 +550,6 @@ def main(args):
|
|
551 |
|
552 |
if __name__ == "__main__":
|
553 |
parser = simple_parsing.ArgumentParser(description="pre-loading demo")
|
554 |
-
parser.add_argument("--port", type=int, default=
|
555 |
args = parser.parse_known_args()[0]
|
556 |
main(args)
|
|
|
2 |
# Copyright (C) 2024 Apple Inc. All rights reserved.
|
3 |
import spaces
|
4 |
import os
|
|
|
5 |
os.system("pip install --upgrade ./ml_mdm-1.0-py3-none-any.whl")
|
6 |
|
7 |
import logging
|
|
|
550 |
|
551 |
if __name__ == "__main__":
|
552 |
parser = simple_parsing.ArgumentParser(description="pre-loading demo")
|
553 |
+
parser.add_argument("--port", type=int, default=7860)
|
554 |
args = parser.parse_known_args()[0]
|
555 |
main(args)
|