Commit
·
e8d9bd6
1
Parent(s):
8ba6fb3
Try to enable gating via YAML
Browse files
README.md
CHANGED
|
@@ -1,18 +1,14 @@
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
license: mit
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
widget:
|
| 7 |
-
- text: "Hello world"
|
| 8 |
-
extra_gated_prompt: |
|
| 9 |
-
This is a gated prompt injection
|
| 10 |
extra_gated_fields:
|
| 11 |
full_name: text
|
| 12 |
email: text
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Test Model
|
| 17 |
-
|
| 18 |
-
This is a test model for git protocol testing.
|
|
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
license: mit
|
| 4 |
+
gated: true
|
| 5 |
+
extra_gated_prompt: "Please provide your details to access this model"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
extra_gated_fields:
|
| 7 |
full_name: text
|
| 8 |
email: text
|
| 9 |
+
company: text
|
| 10 |
+
phone: text
|
| 11 |
+
extra_gated_button_content: "Submit Request"
|
| 12 |
---
|
| 13 |
|
| 14 |
# Test Model
|
|
|
|
|
|