Daniel-FD commited on
Commit
813f2a4
·
1 Parent(s): b45fcd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- "text"],
 
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