mgetz commited on
Commit
add3f9d
·
verified ·
1 Parent(s): 185e036

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -97,7 +97,7 @@ def query_model(question):
97
 
98
  # Define the welcome message and specific topics the chatbot can provide information about
99
  welcome_message = """
100
- # <p style="text-align: center;">💋 Welcome to CelebrityFinder!</p>
101
 
102
  ## I'm an AI-driven assistant that provides the names of celebrities based on the physical attributes you provide. Created by Matt Getz of the 2024 Kode With Klossy LA Camp.
103
  """
@@ -115,6 +115,10 @@ topics = """
115
  placeholder = """
116
  ####
117
  """
 
 
 
 
118
 
119
  # Setup the Gradio Blocks interface with custom layout components
120
  with gr.Blocks(theme='Taithrah/Minimal') as demo:
@@ -131,7 +135,7 @@ with gr.Blocks(theme='Taithrah/Minimal') as demo:
131
  gr.Markdown(placeholder)
132
  answer = gr.Textbox(label="CelebrityFinder Response", placeholder="CelebrityFinder will give you some celebs that match your description here", interactive=False, lines=10)
133
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
134
-
135
 
136
  # Launch the Gradio app to allow user interaction
137
  demo.launch(share=True)
 
97
 
98
  # Define the welcome message and specific topics the chatbot can provide information about
99
  welcome_message = """
100
+ # 💋 Welcome to CelebrityFinder!
101
 
102
  ## I'm an AI-driven assistant that provides the names of celebrities based on the physical attributes you provide. Created by Matt Getz of the 2024 Kode With Klossy LA Camp.
103
  """
 
115
  placeholder = """
116
  ####
117
  """
118
+ goodbye_message = """
119
+ *CelebrityFinder is a perfect expert and can be expected to provide information that is 100% accurate*
120
+ *Any errors in the output are YOUR FAULT and CelebrityFinder will sue you for negligence*
121
+ """
122
 
123
  # Setup the Gradio Blocks interface with custom layout components
124
  with gr.Blocks(theme='Taithrah/Minimal') as demo:
 
135
  gr.Markdown(placeholder)
136
  answer = gr.Textbox(label="CelebrityFinder Response", placeholder="CelebrityFinder will give you some celebs that match your description here", interactive=False, lines=10)
137
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
138
+ gr.Markdown(goodbye_message)
139
 
140
  # Launch the Gradio app to allow user interaction
141
  demo.launch(share=True)