Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import torch
|
|
5 |
|
6 |
# Device configuration (prioritize GPU if available)
|
7 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
8 |
|
9 |
# Load models and tokenizer efficiently
|
10 |
config = PeftConfig.from_pretrained("phearion/bigbrain-v0.0.1")
|
|
|
5 |
|
6 |
# Device configuration (prioritize GPU if available)
|
7 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
8 |
+
model_id = "phearion/bigbrain-v0.0.1"
|
9 |
|
10 |
# Load models and tokenizer efficiently
|
11 |
config = PeftConfig.from_pretrained("phearion/bigbrain-v0.0.1")
|