Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,8 @@ def classify_prompt(category,conv_prefix, response):
|
|
38 |
"model_name": "collinear_guard_classifier_beta",
|
39 |
"nano_model_type": category,
|
40 |
"conversation": conv_prefix,
|
41 |
-
"response": response
|
|
|
42 |
}
|
43 |
headers = {
|
44 |
"Authorization": f"Bearer {API_KEY}",
|
|
|
38 |
"model_name": "collinear_guard_classifier_beta",
|
39 |
"nano_model_type": category,
|
40 |
"conversation": conv_prefix,
|
41 |
+
"response": response,
|
42 |
+
"space_id":"8b560bf4-3a76-4f00-b378-b528d02445c0"
|
43 |
}
|
44 |
headers = {
|
45 |
"Authorization": f"Bearer {API_KEY}",
|