mdelafuente2 commited on
Commit
e7504bc
·
verified ·
1 Parent(s): 6d15e90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -11
app.py CHANGED
@@ -96,21 +96,19 @@ def query_model(question):
96
  return response
97
 
98
  # Define the welcome message and specific topics the chatbot can provide information about
99
- welcome_message = """
100
- # ♟️ Welcome to ChessBot!
101
 
102
- ## Your AI-driven assistant for all chess-related queries. Created by SCHOLAR1, SCHOLAR2, and SCHOLAR3 of the 2024 Kode With Klossy CITY Camp.
103
  """
104
 
105
  topics = """
106
  ### Feel Free to ask me anything from the topics below!
107
- - Chess piece movements
108
- - Special moves
109
- - Game phases
110
- - Common strategies
111
- - Chess terminology
112
- - Famous games
113
- - Chess tactics
114
  """
115
 
116
  # Setup the Gradio Blocks interface with custom layout components
@@ -122,7 +120,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
122
  with gr.Row():
123
  with gr.Column():
124
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
125
- answer = gr.Textbox(label="ChessBot Response", placeholder="ChessBot will respond here...", interactive=False, lines=10)
126
  submit_button = gr.Button("Submit")
127
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
128
 
 
96
  return response
97
 
98
  # Define the welcome message and specific topics the chatbot can provide information about
99
+ welcome_message = "Welcome to Blossom Buddy! My name's Rose."
100
+ #
101
 
102
+ ## Your AI-driven assistant for all chess-related queries. Created by Lila, Harper, and Mara of the 2024 Kode With Klossy AI/ML Camp.
103
  """
104
 
105
  topics = """
106
  ### Feel Free to ask me anything from the topics below!
107
+ - Menstruation
108
+ - Period Products
109
+ - Hygeine
110
+ - Puberty
111
+ - Sustainability
 
 
112
  """
113
 
114
  # Setup the Gradio Blocks interface with custom layout components
 
120
  with gr.Row():
121
  with gr.Column():
122
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
123
+ answer = gr.Textbox(label="ChessBot Response", placeholder="Rose will respond here...", interactive=False, lines=10)
124
  submit_button = gr.Button("Submit")
125
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
126