Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ async def greet(product,description):
|
|
99 |
# config = RailsConfig.from_path("nemo")
|
100 |
YAML_CONFIG = """
|
101 |
models:
|
102 |
-
- type:
|
103 |
engine: groq
|
104 |
model: llama-3.2-11b-text-preview
|
105 |
|
@@ -110,7 +110,7 @@ async def greet(product,description):
|
|
110 |
rails:
|
111 |
input:
|
112 |
flows:
|
113 |
-
- content safety check input $model=
|
114 |
|
115 |
output:
|
116 |
flows:
|
|
|
99 |
# config = RailsConfig.from_path("nemo")
|
100 |
YAML_CONFIG = """
|
101 |
models:
|
102 |
+
- type: shield
|
103 |
engine: groq
|
104 |
model: llama-3.2-11b-text-preview
|
105 |
|
|
|
110 |
rails:
|
111 |
input:
|
112 |
flows:
|
113 |
+
- content safety check input $model=shield
|
114 |
|
115 |
output:
|
116 |
flows:
|