Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,15 +91,5 @@ def respond(message, history):
|
|
| 91 |
|
| 92 |
chatbot = gr.ChatInterface(respond)
|
| 93 |
|
| 94 |
-
with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
| 95 |
-
chatbot = gr.ChatInterface(
|
| 96 |
-
fn = respond,
|
| 97 |
-
cache_examples = False,
|
| 98 |
-
textbox=gr.Textbox(placeholder="Ask me anything!", container=False, scale=7),
|
| 99 |
-
title = "ByteShield - Your AI Gaurdian for Online Safety",
|
| 100 |
-
description = "Ask me anything about online safety!",
|
| 101 |
-
#multimodal = True,
|
| 102 |
-
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?"]
|
| 103 |
-
)
|
| 104 |
|
| 105 |
chatbot.launch()
|
|
|
|
| 91 |
|
| 92 |
chatbot = gr.ChatInterface(respond)
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
chatbot.launch()
|