Aishu-7 commited on
Commit
4687012
·
verified ·
1 Parent(s): 4b8c81b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -104,14 +104,14 @@ def respond(message, history):
104
  return response.choices[0].message.content.strip()
105
 
106
  with gr.Blocks(theme=gr.themes.Ocean()) as demo:
107
-     chatbot = gr.ChatInterface(
108
-     fn = respond,
109
-     cache_examples = False,
110
-     textbox=gr.Textbox(placeholder="Ask me anything!", container=False, scale=7),
111
-     title = "ByteShield - Your AI Gaurdian for Online Safety",
112
-     description = "Ask me anything about online safety!",
113
      #multimodal = True,
114
-     examples = ["Generate me some strong passwords to use.", "What are some security measures I can take to stay safe online?", "Explain how a data breach works.", "How do I know if a message is a scam or not?"]
115
  )
116
 
117
 
 
104
  return response.choices[0].message.content.strip()
105
 
106
  with gr.Blocks(theme=gr.themes.Ocean()) as demo:
107
+ chatbot = gr.ChatInterface(
108
+ fn = respond,
109
+ cache_examples = False,
110
+ textbox=gr.Textbox(placeholder="Ask me anything!", container=False, scale=7),
111
+ title = "ByteShield - Your AI Gaurdian for Online Safety",
112
+ description = "Ask me anything about online safety!",
113
      #multimodal = True,
114
+ examples = ["Generate me some strong passwords to use.", "What are some security measures I can take to stay safe online?", "Explain how a data breach works.", "How do I know if a message is a scam or not?"]
115
  )
116
 
117