nmarafo commited on
Commit
9db9902
·
verified ·
1 Parent(s): 58da122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def verificar_politica(message, policy):
64
 
65
  return yes_probability > no_probability
66
 
67
- @spaces.GPU(duration=300)
68
  def respond(message, max_tokens, temperature, top_p):
69
  policies = [
70
  "No Dangerous Content: The prompt shall not contain or seek generation of content that harms oneself and/or others (e.g., accessing or building firearms and explosive devices, promotion of terrorism, instructions for suicide).",
 
64
 
65
  return yes_probability > no_probability
66
 
67
+ @spaces.GPU(duration=150)
68
  def respond(message, max_tokens, temperature, top_p):
69
  policies = [
70
  "No Dangerous Content: The prompt shall not contain or seek generation of content that harms oneself and/or others (e.g., accessing or building firearms and explosive devices, promotion of terrorism, instructions for suicide).",