Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
7c553e5
1
Parent(s):
60718a2
main.py
CHANGED
@@ -38,8 +38,8 @@ LATENT_DIMS = (16, SCREEN_HEIGHT // 8, SCREEN_WIDTH // 8)
|
|
38 |
# Initialize the model at the start of your application
|
39 |
#model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
|
40 |
#model = initialize_model("config_rnn.yaml", "yuntian-deng/computer-model")
|
41 |
-
model = initialize_model("config_final_model.yaml", "yuntian-deng/computer-model-noss")
|
42 |
-
|
43 |
model = model.to(device)
|
44 |
#model = torch.compile(model)
|
45 |
padding_image = torch.zeros(*LATENT_DIMS).unsqueeze(0).to(device)
|
|
|
38 |
# Initialize the model at the start of your application
|
39 |
#model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
|
40 |
#model = initialize_model("config_rnn.yaml", "yuntian-deng/computer-model")
|
41 |
+
#model = initialize_model("config_final_model.yaml", "yuntian-deng/computer-model-noss")
|
42 |
+
model = initialize_model("config_final_model.yaml", "yuntian-deng/computer-model")
|
43 |
model = model.to(device)
|
44 |
#model = torch.compile(model)
|
45 |
padding_image = torch.zeros(*LATENT_DIMS).unsqueeze(0).to(device)
|