Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def load_model_from_config(config, ckpt = None, verbose=True):
|
|
41 |
else:
|
42 |
print(f"Note chat no ckpt is loaded !!!")
|
43 |
|
44 |
-
|
45 |
model.eval()
|
46 |
return model
|
47 |
|
|
|
41 |
else:
|
42 |
print(f"Note chat no ckpt is loaded !!!")
|
43 |
|
44 |
+
model.cuda()
|
45 |
model.eval()
|
46 |
return model
|
47 |
|