Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,6 +89,8 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
|
| 89 |
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?"]
|
| 90 |
)
|
| 91 |
|
|
|
|
|
|
|
| 92 |
|
| 93 |
cleaned_chunks = preprocess_text(knowledge_base)
|
| 94 |
|
|
@@ -115,4 +117,3 @@ chatbot = gr.ChatInterface(respond)
|
|
| 115 |
|
| 116 |
chatbot.launch()
|
| 117 |
|
| 118 |
-
with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as demo:
|
|
|
|
| 89 |
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?"]
|
| 90 |
)
|
| 91 |
|
| 92 |
+
#with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as demo:
|
| 93 |
+
|
| 94 |
|
| 95 |
cleaned_chunks = preprocess_text(knowledge_base)
|
| 96 |
|
|
|
|
| 117 |
|
| 118 |
chatbot.launch()
|
| 119 |
|
|
|