yuntian-deng commited on
Commit
0b874ec
·
1 Parent(s): 6bb4da6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -52,7 +52,9 @@ def draw_trace(image: np.ndarray, previous_actions: List[Tuple[str, List[int]]])
52
  return np.array(pil_image)
53
 
54
  # Initialize the model at the start of your application
55
- model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
 
 
56
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
57
  model = model.to(device)
58
 
 
52
  return np.array(pil_image)
53
 
54
  # Initialize the model at the start of your application
55
+ #model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
56
+ model = initialize_model("configs/config_identity.yaml", "yuntian-deng/computer-model")
57
+
58
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
59
  model = model.to(device)
60