Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ subprocess.run(
|
|
11 |
check=True
|
12 |
)
|
13 |
|
14 |
-
device = torch.device("cuda" if torch.cuda.is_available() else "
|
15 |
|
16 |
config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
|
17 |
|
|
|
11 |
check=True
|
12 |
)
|
13 |
|
14 |
+
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
15 |
|
16 |
config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
|
17 |
|