Spaces:
Runtime error
Runtime error
Update model_utils.py
Browse files- model_utils.py +1 -1
model_utils.py
CHANGED
|
@@ -22,7 +22,7 @@ ARCHITECTURE_MAP = {
|
|
| 22 |
}
|
| 23 |
|
| 24 |
|
| 25 |
-
@spaces.GPU
|
| 26 |
def get_model_summary(model_name):
|
| 27 |
try:
|
| 28 |
config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
|
| 25 |
+
@spaces.GPU
|
| 26 |
def get_model_summary(model_name):
|
| 27 |
try:
|
| 28 |
config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
|