chore(mics): Remove server and port.
Remove server and port.
This commit is contained in:
parent
e92dc32423
commit
f102e963c6
@ -498,4 +498,4 @@ with gr.Blocks(delete_cache=(43200, 43200), theme=custom_theme) as demo:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
demo.launch(server_name="10.34.8.82", server_port=8081)
|
demo.launch()
|
||||||
|
|||||||
@ -478,4 +478,4 @@ with gr.Blocks(delete_cache=(43200, 43200), theme=custom_theme) as demo:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
demo.launch(server_name="10.34.8.82", server_port=8082)
|
demo.launch()
|
||||||
|
|||||||
@ -379,4 +379,4 @@ with gr.Blocks(delete_cache=(43200, 43200), theme=custom_theme) as demo:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
demo.launch(server_name="10.34.8.82", server_port=8083)
|
demo.launch()
|
||||||
|
|||||||
@ -20,7 +20,7 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from glob import glob
|
from glob import glob
|
||||||
from shutil import copy, copytree
|
from shutil import copy, copytree, rmtree
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import trimesh
|
import trimesh
|
||||||
@ -294,6 +294,8 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
# Organize the final result files
|
# Organize the final result files
|
||||||
result_dir = f"{output_root}/result"
|
result_dir = f"{output_root}/result"
|
||||||
|
if os.path.exists(result_dir):
|
||||||
|
rmtree(result_dir, ignore_errors=True)
|
||||||
os.makedirs(result_dir, exist_ok=True)
|
os.makedirs(result_dir, exist_ok=True)
|
||||||
copy(urdf_path, f"{result_dir}/{os.path.basename(urdf_path)}")
|
copy(urdf_path, f"{result_dir}/{os.path.basename(urdf_path)}")
|
||||||
copytree(
|
copytree(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user