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."
|
@@ -104,13 +104,9 @@ welcome_message = """
|
|
104 |
|
105 |
topics = """
|
106 |
### Feel Free to ask me anything from the topics below!
|
107 |
-
-
|
108 |
-
-
|
109 |
-
-
|
110 |
-
- Common strategies
|
111 |
-
- Chess terminology
|
112 |
-
- Famous games
|
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 Indigenous Peoples of the US Bot! Ask me anything about the Indigenous lands you're on, tribes/communities, and indigenous treaties with the US."
|
92 |
relevant_segment = find_relevant_segment(question, segments)
|
93 |
if not relevant_segment:
|
94 |
return "Could not find specific information. Please refine your question."
|
|
|
104 |
|
105 |
topics = """
|
106 |
### Feel Free to ask me anything from the topics below!
|
107 |
+
- Indigenous lands by city and state (City, State)
|
108 |
+
- Indigenous tribes and communities
|
109 |
+
- Treaties between specific tribes and the United States
|
|
|
|
|
|
|
|
|
110 |
"""
|
111 |
|
112 |
# Setup the Gradio Blocks interface with custom layout components
|