Update app.py
Browse files
app.py
CHANGED
|
@@ -67,21 +67,18 @@ def respond(message,history):
|
|
| 67 |
|
| 68 |
print(response)
|
| 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.ChatInterface(respond, type = "messages", #theme = gr.themes.Ocean(
|
| 81 |
#primary_hue="pink",
|
| 82 |
#secondary_hue="pink",
|
| 83 |
#neutral_hue="fuchsia"),
|
| 84 |
-
title =
|
| 85 |
examples = ["What are the different types of period products? ",
|
| 86 |
"What are some vitamins that are good for teenage girls?",
|
| 87 |
"What should I know about puberty?"]
|
|
|
|
| 67 |
|
| 68 |
print(response)
|
| 69 |
|
|
|
|
|
|
|
|
|
|
| 70 |
theme = gr.themes.Ocean(
|
| 71 |
primary_hue="pink",
|
| 72 |
secondary_hue="pink",
|
| 73 |
neutral_hue="fuchsia")
|
| 74 |
|
| 75 |
with gr.Blocks (theme=theme) as chatbot:
|
| 76 |
+
gr.Image("BloomBot.png",width=2000, height=600, show_label = False, show_share_button = False, show_download_button = False)
|
| 77 |
gr.ChatInterface(respond, type = "messages", #theme = gr.themes.Ocean(
|
| 78 |
#primary_hue="pink",
|
| 79 |
#secondary_hue="pink",
|
| 80 |
#neutral_hue="fuchsia"),
|
| 81 |
+
title = "Hi, I'm BloomBot!",
|
| 82 |
examples = ["What are the different types of period products? ",
|
| 83 |
"What are some vitamins that are good for teenage girls?",
|
| 84 |
"What should I know about puberty?"]
|