Daemontatox commited on
Commit
b491fe1
·
verified ·
1 Parent(s): 7d8fde2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def format_response(text):
62
  .replace("[Conclude]", '\n<strong class="special-tag">[Conclude]</strong>\n') \
63
  .replace("[Reason]", '\n<strong class="special-tag">[Reason]</strong>\n') \
64
  .replace("[Verify]", '\n<strong class="special-tag">[Verify]</strong>\n')
65
- @spaces.GPU
66
  def generate_response(message, chat_history, system_prompt, temperature, max_tokens):
67
  # Create conversation history for model
68
  conversation = [{"role": "system", "content": system_prompt}]
 
62
  .replace("[Conclude]", '\n<strong class="special-tag">[Conclude]</strong>\n') \
63
  .replace("[Reason]", '\n<strong class="special-tag">[Reason]</strong>\n') \
64
  .replace("[Verify]", '\n<strong class="special-tag">[Verify]</strong>\n')
65
+ @spaces.GPU(duration=360)
66
  def generate_response(message, chat_history, system_prompt, temperature, max_tokens):
67
  # Create conversation history for model
68
  conversation = [{"role": "system", "content": system_prompt}]