Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def verificar_politica(message, policy):
|
|
64 |
|
65 |
return yes_probability > no_probability
|
66 |
|
67 |
-
@spaces.GPU(duration=
|
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).",
|