Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Removed slashes from container name

Dillon DuPont0da160e4dbd4
diff --git a/libs/python/computer/computer/computer.py b/libs/python/computer/computer/computer.py
index 17d17bdc86..441e3ec3fa 100644
--- a/libs/python/computer/computer/computer.py
+++ b/libs/python/computer/computer/computer.py
@@ -160,6 +160,8 @@ class Computer:
if not name:
# Normalize the name to be used for the VM
name = image.replace(":", "_")
+ # Remove any forward slashes
+ name = name.replace("/", "_")
# Convert display parameter to Display object
if isinstance(display, str):