FractalAIR commited on
Commit
a878ad7
·
verified ·
1 Parent(s): 3f8bcd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def format_math(text):
16
  text = text.replace(r"\(", "$").replace(r"\)", "$")
17
  return text
18
 
19
- #@spaces.GPU(duration=60)
20
  def generate_response(user_message, max_tokens, temperature, top_p, history_state):
21
  if not user_message.strip():
22
  return history_state, history_state
 
16
  text = text.replace(r"\(", "$").replace(r"\)", "$")
17
  return text
18
 
19
+ @spaces.GPU(duration=60)
20
  def generate_response(user_message, max_tokens, temperature, top_p, history_state):
21
  if not user_message.strip():
22
  return history_state, history_state