Daemontatox commited on
Commit
0b8f45e
·
verified ·
1 Parent(s): f4e5424

Update app.py

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