PringlePeanut commited on
Commit
cd9ab83
·
verified ·
1 Parent(s): 53ce1ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -110,19 +110,20 @@ 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:#FFF4EA; 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:40px; 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:30px; 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:20px; 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:20px; 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:20px; 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(
128
  background_fill_primary='#FAB9CB', # Light pink background
@@ -148,9 +149,9 @@ with gr.Blocks(theme=theme) as demo:
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="""<span style="color:#A25F9D; font-size:20px; 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 Question</span>""", placeholder="˚₊‧꒰ა 🎀 ໒꒱ ‧₊˚What do you Want to ask About?")
152
- answer = gr.Textbox(label="𐙚 ˚🍰 ⋆。˚ ᡣ𐭩Plai Response", placeholder="🫧𓍢ִ໋🌷͙֒˚˖𓍢ִ໋🦢˚Plai will Respond Here...", interactive=False, lines=10)
153
- submit_button = gr.Button("Submit")
154
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
155
 
156
 
 
110
 
111
  # Define the welcome message and specific topics the chatbot can provide information about
112
  welcome_message = """
113
+ <span style="color:#FFF4EA; 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:#CEB0A8; font-size:40px; 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:30px; 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:20px; 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:20px; 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:20px; 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
+ <span style="color:#A25F9D; font-size:20px; 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>
127
  """
128
  theme = gr.themes.Base().set(
129
  background_fill_primary='#FAB9CB', # Light pink background
 
149
  gr.Image("Image.png", show_label = False, show_share_button = False, show_download_button = False)
150
  with gr.Row():
151
  with gr.Column():
152
+ question = gr.Textbox(label="ׁ ׁ ݄ ׁ 𖦹🎀 ׅ 𓈒Your Question⋆𐙚₊˚⊹♡", placeholder="༘⋆🌷🫧What do you Want to ask About?💭₊˚ෆ")
153
+ answer = gr.Textbox(label="˚ ༘˚Plai Responseೀ⋆。", placeholder="𝜗𝜚꥓ ⊹ 𓈒˚₊ִֶָPlai will Respond Here...", interactive=False, lines=10)
154
+ submit_button = gr.Button("˚₊‧꒰აSubmit໒꒱ ‧₊˚")
155
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
156
 
157