johnnyfivefingers commited on
Commit
6761cc4
·
1 Parent(s): a40d3a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -55,10 +55,10 @@ app = gr.Interface(fn=answer_question, inputs=inputs, outputs=outputs,
55
  title="Security Question Answering",
56
  description="Enter a security question and a document, and the app will return the answer based on the top 3 most similar documents.",
57
  examples=[
58
- ["Data breaches are a common occurrence in today's digital world. Companies must take measures to protect sensitive information from unauthorized access or disclosure.",
59
- "What measures can companies take to protect sensitive information?"],
60
- ["Phishing attacks are a type of cyberattack that use social engineering to trick users into divulging confidential information. Employees should be trained to recognize and avoid phishing scams.",
61
- "What is a phishing attack?"],
62
- ["The use of encryption can help prevent unauthorized access to data by encrypting it so that it can only be accessed by authorized users who have the decryption key.",
63
- "What is encryption?"],
64
- ["A firewall is a network security system that monitors and controls incoming and outgoing network traffic based
 
55
  title="Security Question Answering",
56
  description="Enter a security question and a document, and the app will return the answer based on the top 3 most similar documents.",
57
  examples=[
58
+ ["Data breaches are a common occurrence in today's digital world. Companies must take measures to protect sensitive information from unauthorized access or disclosure.", "What measures can companies take to protect sensitive information?"],
59
+ ["Phishing attacks are a type of cyberattack that use social engineering to trick users into divulging confidential information. Employees should be trained to recognize and avoid phishing scams.", "What is a phishing attack?"],
60
+ ["The use of encryption can help prevent unauthorized access to data by encrypting it so that it can only be accessed by authorized users who have the decryption key.", "What is encryption?"],
61
+ ["A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. It can help protect against unauthorized access to a network.", "What is a firewall?")
62
+
63
+ # Run the app
64
+ app.launch()