remove port
Browse files
app.py
CHANGED
|
@@ -87,8 +87,6 @@ if __name__ == "__main__":
|
|
| 87 |
"--texture_model", type=str, default="Step1X-3D-Texture"
|
| 88 |
)
|
| 89 |
parser.add_argument("--cache_dir", type=str, default="cache")
|
| 90 |
-
parser.add_argument("--port", type=int, default=7861)
|
| 91 |
-
parser.add_argument("--host", type=str, default="0.0.0.0")
|
| 92 |
args = parser.parse_args()
|
| 93 |
|
| 94 |
os.makedirs(args.cache_dir, exist_ok=True)
|
|
@@ -156,5 +154,4 @@ if __name__ == "__main__":
|
|
| 156 |
outputs=[geometry_preview, textured_preview],
|
| 157 |
)
|
| 158 |
|
| 159 |
-
demo.launch(
|
| 160 |
-
demo.queue(concurrency_count=3)
|
|
|
|
| 87 |
"--texture_model", type=str, default="Step1X-3D-Texture"
|
| 88 |
)
|
| 89 |
parser.add_argument("--cache_dir", type=str, default="cache")
|
|
|
|
|
|
|
| 90 |
args = parser.parse_args()
|
| 91 |
|
| 92 |
os.makedirs(args.cache_dir, exist_ok=True)
|
|
|
|
| 154 |
outputs=[geometry_preview, textured_preview],
|
| 155 |
)
|
| 156 |
|
| 157 |
+
demo.launch()
|
|
|