ghostsInTheMachine
commited on
Commit
•
d4b233b
1
Parent(s):
ea1433c
Update infer.py
Browse files
infer.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import logging
|
2 |
import torch
|
3 |
import numpy as np
|
|
|
1 |
+
# Import spaces first (even if not using @spaces.GPU here)
|
2 |
+
import spaces # Import spaces to ensure it loads before torch
|
3 |
+
|
4 |
import logging
|
5 |
import torch
|
6 |
import numpy as np
|