dwb2023 commited on
Commit
36ecb3d
·
verified ·
1 Parent(s): f606abc

Update model_utils.py

Browse files
Files changed (1) hide show
  1. model_utils.py +2 -1
model_utils.py CHANGED
@@ -21,7 +21,8 @@ ARCHITECTURE_MAP = {
21
  "AutoModelForCausalLM": AutoModelForCausalLM
22
  }
23
 
24
- @spaces.GPU
 
25
  def get_model_summary(model_name):
26
  try:
27
  config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
 
21
  "AutoModelForCausalLM": AutoModelForCausalLM
22
  }
23
 
24
+
25
+ @spaces.GPU(duration=120)
26
  def get_model_summary(model_name):
27
  try:
28
  config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)