Update app.py
Browse files
app.py
CHANGED
|
@@ -69,14 +69,19 @@ def respond(message,history):
|
|
| 69 |
|
| 70 |
#def display_image():
|
| 71 |
# return "BloomBot.png"
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
with gr.Blocks (theme=theme) as chatbot:
|
| 74 |
gr.Image("BloomBot.png", show_label = False, show_share_button = False, show_download_button = False)
|
| 75 |
gr.Markdown(welcome_message)
|
| 76 |
-
gr.ChatInterface(respond, type = "messages", theme = gr.themes.Ocean(
|
| 77 |
-
primary_hue="pink",
|
| 78 |
-
secondary_hue="pink",
|
| 79 |
-
neutral_hue="fuchsia"),
|
| 80 |
title = ["Hi, I'm BloomBot!"],
|
| 81 |
examples = ["What are the different types of period products? ",
|
| 82 |
"What are some vitamins that are good for teenage girls?",
|
|
|
|
| 69 |
|
| 70 |
#def display_image():
|
| 71 |
# return "BloomBot.png"
|
| 72 |
+
|
| 73 |
+
theme = gr.themes.Ocean(
|
| 74 |
+
primary_hue="pink",
|
| 75 |
+
secondary_hue="pink",
|
| 76 |
+
neutral_hue="fuchsia")
|
| 77 |
+
|
| 78 |
with gr.Blocks (theme=theme) as chatbot:
|
| 79 |
gr.Image("BloomBot.png", show_label = False, show_share_button = False, show_download_button = False)
|
| 80 |
gr.Markdown(welcome_message)
|
| 81 |
+
gr.ChatInterface(respond, type = "messages", #theme = gr.themes.Ocean(
|
| 82 |
+
#primary_hue="pink",
|
| 83 |
+
#secondary_hue="pink",
|
| 84 |
+
#neutral_hue="fuchsia"),
|
| 85 |
title = ["Hi, I'm BloomBot!"],
|
| 86 |
examples = ["What are the different types of period products? ",
|
| 87 |
"What are some vitamins that are good for teenage girls?",
|