Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ tokenizer_file = hf_hub_download(repo_id=model_repo, filename="HROM-V1.6/tokeniz
|
|
22 |
tokenizer = Tokenizer.from_file(tokenizer_file)
|
23 |
|
24 |
# 3. Load model checkpoint
|
25 |
-
checkpoint_file = hf_hub_download(repo_id=model_repo, filename="HROM-V1.6
|
26 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
27 |
|
28 |
def load_model():
|
|
|
22 |
tokenizer = Tokenizer.from_file(tokenizer_file)
|
23 |
|
24 |
# 3. Load model checkpoint
|
25 |
+
checkpoint_file = hf_hub_download(repo_id=model_repo, filename="HROM-V1.6/HROM-V1.6.pt")
|
26 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
27 |
|
28 |
def load_model():
|