90 commited on
Commit
31b5e9a
·
1 Parent(s): 9b5c697

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model = AutoModelForCausalLM.from_pretrained(
12
  device_map="auto",
13
  trust_remote_code=True
14
  )
15
- @spaces.GPU(duration=120)
16
  def predict(message, history):
17
  # 构建输入
18
  history_text = ""
 
12
  device_map="auto",
13
  trust_remote_code=True
14
  )
15
+ @spaces.GPU(duration=60)
16
  def predict(message, history):
17
  # 构建输入
18
  history_text = ""