alakxender commited on
Commit
695c06a
1 Parent(s): 5157bc3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def tranlate(text:str,model_name:str):
20
  else:
21
  return t5_tranlaste(text,model_name)
22
 
23
- @spaces.GPU(duration=120)
24
  def t5_tranlaste(text:str,model_name:str):
25
 
26
  model = T5ForConditionalGeneration.from_pretrained(models[model_name], device_map="auto")
 
20
  else:
21
  return t5_tranlaste(text,model_name)
22
 
23
+ @spaces.GPU(duration=30)
24
  def t5_tranlaste(text:str,model_name:str):
25
 
26
  model = T5ForConditionalGeneration.from_pretrained(models[model_name], device_map="auto")