Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadene committed Nov 27, 2024
1 parent a97c1cb commit aa03a27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lerobot/scripts/visualize_dataset_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def run_server(
port: str,
static_folder: Path,
template_folder: Path,
has_policy = False,
has_policy=False,
):
app = Flask(__name__, static_folder=static_folder.resolve(), template_folder=template_folder.resolve())
app.config["SEND_FILE_MAX_AGE_DEFAULT"] = 0 # specifying not to cache
Expand Down Expand Up @@ -131,7 +131,7 @@ def show_episode(dataset_namespace, dataset_name, episode_id):
dataset_info=dataset_info,
videos_info=videos_info,
ep_csv_url=ep_csv_url,
has_policy = has_policy,
has_policy=has_policy,
)

app.run(host=host, port=port)
Expand Down Expand Up @@ -404,7 +404,7 @@ def main():
args = parser.parse_args()
kwargs = vars(args)
repo_id = kwargs.pop("repo_id")
# root = kwargs.pop("root")
kwargs.pop("root")
dataset = LeRobotDataset(repo_id)
visualize_dataset_html(dataset, **kwargs)

Expand Down

0 comments on commit aa03a27

Please sign in to comment.