90 commited on
Commit
a97aa70
·
1 Parent(s): b3fa588

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=60)
16
  def predict(message, history):
17
  # 构建输入
18
  history_text = ""
 
12
  device_map="auto",
13
  trust_remote_code=True
14
  )
15
+ @spaces.GPU()
16
  def predict(message, history):
17
  # 构建输入
18
  history_text = ""