Spaces:
Sleeping
Sleeping
banner purple
Browse files
app.py
CHANGED
@@ -98,8 +98,7 @@ custom_theme = gr.themes.Default(
|
|
98 |
link_text_color_hover="darkgreen"
|
99 |
)
|
100 |
|
101 |
-
|
102 |
-
with gr.Blocks(theme=custom_theme) as chatbot_interface:
|
103 |
gr.Image(
|
104 |
value="banner.jpg",
|
105 |
show_label=False,
|
@@ -107,11 +106,12 @@ with gr.Blocks(theme=custom_theme) as chatbot_interface:
|
|
107 |
show_download_button=False
|
108 |
)
|
109 |
|
|
|
110 |
gr.ChatInterface(
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
|
116 |
# Launch the chatbot interface
|
117 |
-
|
|
|
98 |
link_text_color_hover="darkgreen"
|
99 |
)
|
100 |
|
101 |
+
with gr.Blocks(theme=custom_theme) as chatbot:
|
|
|
102 |
gr.Image(
|
103 |
value="banner.jpg",
|
104 |
show_label=False,
|
|
|
106 |
show_download_button=False
|
107 |
)
|
108 |
|
109 |
+
# Define the chatbot interface outside the respond function
|
110 |
gr.ChatInterface(
|
111 |
+
respond,
|
112 |
+
examples=["Teach me about minorities in tech", "Help me find statistics about Women in tech", "What are some communities/groups I can join for tech inclusiveness!"],
|
113 |
+
#description="This is a minority inclusivity bot"
|
114 |
+
)
|
115 |
|
116 |
# Launch the chatbot interface
|
117 |
+
chatbot.launch()
|