snjev310 commited on
Commit
3ae2d5d
·
verified ·
1 Parent(s): 61d1ca6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ MODEL_MAP = {
16
  # Load Tokenizer globally
17
  tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL_ID)
18
 
19
- @spaces.GPU(duration=180)
20
  def translate(text, model_choice):
21
  if not text.strip():
22
  return "Please enter text to translate."
 
16
  # Load Tokenizer globally
17
  tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL_ID)
18
 
19
+ @spaces.GPU(duration=120)
20
  def translate(text, model_choice):
21
  if not text.strip():
22
  return "Please enter text to translate."