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__":
|
||||
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__":
|
||||
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__":
|
||||
demo.launch(server_name="10.34.8.82", server_port=8083)
|
||||
demo.launch()
|
||||
|
||||
@ -20,7 +20,7 @@ import logging
|
||||
import os
|
||||
import sys
|
||||
from glob import glob
|
||||
from shutil import copy, copytree
|
||||
from shutil import copy, copytree, rmtree
|
||||
|
||||
import numpy as np
|
||||
import trimesh
|
||||
@ -294,6 +294,8 @@ if __name__ == "__main__":
|
||||
|
||||
# Organize the final result files
|
||||
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)
|
||||
copy(urdf_path, f"{result_dir}/{os.path.basename(urdf_path)}")
|
||||
copytree(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user