Daemontatox commited on
Commit
36ed55f
·
verified ·
1 Parent(s): 49b2703

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def format_response(text):
74
  text = text.replace(old, new)
75
  return text
76
 
77
- @spaces.GPU(duration=360)
78
  def generate_response(message, chat_history, system_prompt, temperature, max_tokens, top_p, top_k, repetition_penalty):
79
  # Build the conversation history.
80
  conversation = [{"role": "system", "content": system_prompt}]
 
74
  text = text.replace(old, new)
75
  return text
76
 
77
+ @spaces.GPU(duration=120)
78
  def generate_response(message, chat_history, system_prompt, temperature, max_tokens, top_p, top_k, repetition_penalty):
79
  # Build the conversation history.
80
  conversation = [{"role": "system", "content": system_prompt}]