Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,11 +25,13 @@ iface = gr.Interface(
|
|
| 25 |
"text",
|
| 26 |
"text"],
|
| 27 |
outputs=[
|
| 28 |
-
gr.outputs.Dataframe(headers=['SAR_Requested', 'Explanation'], type='pandas'),
|
| 29 |
-
"
|
|
|
|
| 30 |
examples=[
|
| 31 |
["Customer is asking about his data, and he is concerned about GDPR because he heard about it in the news", "Private Key"],
|
| 32 |
-
["Hey Kate, save $50 when you spend $150 or more. Today only! Click here to see our new products (link)", "Private Key"]
|
|
|
|
| 33 |
description = "Subject Access Request (SAR) alert from text"
|
| 34 |
)
|
| 35 |
|
|
|
|
| 25 |
"text",
|
| 26 |
"text"],
|
| 27 |
outputs=[
|
| 28 |
+
gr.outputs.Dataframe(headers=['SAR_Requested', 'Explanation'], type='pandas', label="Output"),
|
| 29 |
+
gr.outputs.Textbox(label="Raw Output")
|
| 30 |
+
]
|
| 31 |
examples=[
|
| 32 |
["Customer is asking about his data, and he is concerned about GDPR because he heard about it in the news", "Private Key"],
|
| 33 |
+
["Hey Kate, save $50 when you spend $150 or more. Today only! Click here to see our new products (link)", "Private Key"]
|
| 34 |
+
]
|
| 35 |
description = "Subject Access Request (SAR) alert from text"
|
| 36 |
)
|
| 37 |
|