PringlePeanut commited on
Commit
1df1ef3
·
verified ·
1 Parent(s): 1f41596

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -110,18 +110,18 @@ def query_model(question):
110
 
111
  # Define the welcome message and specific topics the chatbot can provide information about
112
  welcome_message = """
113
- <span style="color:#ede5e5; font-size:90px; font-weight:bold; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">💝 Welcome to Plai!</span>
114
 
115
  <span style="color:#ffefcb; font-size:30px; font-weight:light; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">Your AI-Driven Assistant for all Videogame Related Queries. Created by Perennial, Jiya, and Ly-Ly of the 2024 Kode With Klossy San Francisco Camp.</span>
116
  """
117
  topics = """
118
  <span style="color:#AB4E68; font-size:20px; font-weight:bold; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">Feel Free to ask for Recommendations Based on:</span>
119
 
120
- <span style="color:#A25F9D; font-size:15px; font-weight:light; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">🌸 Genre
121
 
122
- 🎀 Affordability
123
 
124
- 🩰 Feeling</span>
125
 
126
  """
127
  theme = gr.themes.Base().set(
@@ -145,7 +145,7 @@ with gr.Blocks(theme=theme) as demo:
145
  with gr.Row():
146
  with gr.Column():
147
  gr.Markdown(topics) # Show the topics on the left side
148
- gr.Image("Internet_pop-up-removebg-preview (1).png", show_label = False, show_share_button = False, show_download_button = False)
149
  with gr.Row():
150
  with gr.Column():
151
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
 
110
 
111
  # Define the welcome message and specific topics the chatbot can provide information about
112
  welcome_message = """
113
+ <span style="color:#fde8e8; font-size:90px; font-weight:bold; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">💝 Welcome to Plai!</span>
114
 
115
  <span style="color:#ffefcb; font-size:30px; font-weight:light; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">Your AI-Driven Assistant for all Videogame Related Queries. Created by Perennial, Jiya, and Ly-Ly of the 2024 Kode With Klossy San Francisco Camp.</span>
116
  """
117
  topics = """
118
  <span style="color:#AB4E68; font-size:20px; font-weight:bold; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">Feel Free to ask for Recommendations Based on:</span>
119
 
120
+ <span style="color:#A25F9D; font-size:15px; font-weight:light; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">🌸 Genre</span>
121
 
122
+ <span style="color:#A25F9D; font-size:15px; font-weight:light; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">🎀 Affordability</span>
123
 
124
+ <span style="color:#A25F9D; font-size:15px; font-weight:light; font_path = 'Silkscreen-Regular.ttf'font_manager.fontManager.addfont(font_path); plt.rcParams['font.family'] = font_manager.FontProperties(fname=font_path).get_name();">🩰 Feeling</span>
125
 
126
  """
127
  theme = gr.themes.Base().set(
 
145
  with gr.Row():
146
  with gr.Column():
147
  gr.Markdown(topics) # Show the topics on the left side
148
+ gr.Image("Image.png", show_label = False, show_share_button = False, show_download_button = False)
149
  with gr.Row():
150
  with gr.Column():
151
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")