Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def query_model(question):
|
|
88 |
Process a question, find relevant information, and generate a response.
|
89 |
"""
|
90 |
if question == "":
|
91 |
-
return "Welcome to
|
92 |
relevant_segment = find_relevant_segment(question, segments)
|
93 |
if not relevant_segment:
|
94 |
return "Could not find specific information. Please refine your question."
|
@@ -99,18 +99,17 @@ def query_model(question):
|
|
99 |
welcome_message = """
|
100 |
# ♟️ Welcome to ChessBot!
|
101 |
|
102 |
-
## Your AI-driven
|
103 |
"""
|
104 |
|
105 |
topics = """
|
106 |
### Feel Free to ask me anything from the topics below!
|
107 |
-
-
|
108 |
-
-
|
109 |
-
-
|
110 |
-
-
|
111 |
-
-
|
112 |
-
-
|
113 |
-
- Chess tactics
|
114 |
"""
|
115 |
|
116 |
# Setup the Gradio Blocks interface with custom layout components
|
|
|
88 |
Process a question, find relevant information, and generate a response.
|
89 |
"""
|
90 |
if question == "":
|
91 |
+
return "Welcome to SocialAdvisor. Tell me how you're struggling to build your social life or ask what you can do to improve it."
|
92 |
relevant_segment = find_relevant_segment(question, segments)
|
93 |
if not relevant_segment:
|
94 |
return "Could not find specific information. Please refine your question."
|
|
|
99 |
welcome_message = """
|
100 |
# ♟️ Welcome to ChessBot!
|
101 |
|
102 |
+
## Your AI-driven advisor for building a vibrant adult social life.
|
103 |
"""
|
104 |
|
105 |
topics = """
|
106 |
### Feel Free to ask me anything from the topics below!
|
107 |
+
- How to make friends as an adult
|
108 |
+
- How to find hobbies
|
109 |
+
- What are some fun activities to do based on your interests
|
110 |
+
- Places to go to socialize
|
111 |
+
- Where are some cool restaurants in your area
|
112 |
+
- Advice about work-life balance
|
|
|
113 |
"""
|
114 |
|
115 |
# Setup the Gradio Blocks interface with custom layout components
|