PringlePeanut commited on
Commit
a81d527
·
verified ·
1 Parent(s): 67b22e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,7 +13,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
13
 
14
  openai.api_key = os.environ["OPENAI_API_KEY"]
15
 
16
- system_message = "You are a game recommedation chatbot. You respond to requests with the name, price, release date, description and website of a game without bolding and bullet points"
17
  # Initial system message to set the behavior of the assistant
18
  messages = [{"role": "system", "content": system_message}]
19
 
@@ -112,7 +112,7 @@ def query_model(question):
112
  welcome_message = """
113
  <span style="color:#FFF4EA; font-size:90px; font-weight:bold;">˚˖𓍢ִ໋🌷͙֒✧ Welcome to Plai!͙֒˚.🎀༘⋆ .</span>
114
 
115
- <span style="color:#d89b9b; font-size:40px; font-weight:light;">🫧𓍢ִ໋🍬˚˖𓍢ִ໋🦢˚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;">𓍢ִ໋🌷͙֒₊˚*ੈ🎀⸝⸝🍓⋆Feel Free to ask for Recommendations Based on:</span>
@@ -147,7 +147,7 @@ with gr.Blocks(theme=theme) as demo:
147
  with gr.Row():
148
  with gr.Column():
149
  # Show the topics on the left side
150
- gr.Image("Image.png", show_label = False, show_share_button = False, show_download_button = False, height=500, width=500 )
151
  with gr.Row():
152
  with gr.Column():
153
  question = gr.Textbox(label="ׁ ׁ ꥓ ݄ ׁ 𖦹 ׅ 𓈒Your Question⋆𐙚₊˚⊹♡", placeholder="༘⋆🌷🫧What do you Want to ask About?💭₊˚ෆ")
 
13
 
14
  openai.api_key = os.environ["OPENAI_API_KEY"]
15
 
16
+ system_message = "You are a video game recommedation chatbot. You respond to requests in a friendly manner, with the name, price, release date, description and website of a game without bolding and bullet points"
17
  # Initial system message to set the behavior of the assistant
18
  messages = [{"role": "system", "content": system_message}]
19
 
 
112
  welcome_message = """
113
  <span style="color:#FFF4EA; font-size:90px; font-weight:bold;">˚˖𓍢ִ໋🌷͙֒✧ Welcome to Plai!͙֒˚.🎀༘⋆ .</span>
114
 
115
+ <span style="color:#fc6c85; font-size:40px; font-weight:light;">🫧𓍢ִ໋🍬˚˖𓍢ִ໋🦢˚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;">𓍢ִ໋🌷͙֒₊˚*ੈ🎀⸝⸝🍓⋆Feel Free to ask for Recommendations Based on:</span>
 
147
  with gr.Row():
148
  with gr.Column():
149
  # Show the topics on the left side
150
+ gr.Image("Image.png", show_label = False, show_share_button = False, show_download_button = False, height=600, width=600 )
151
  with gr.Row():
152
  with gr.Column():
153
  question = gr.Textbox(label="ׁ ׁ ꥓ ݄ ׁ 𖦹 ׅ 𓈒Your Question⋆𐙚₊˚⊹♡", placeholder="༘⋆🌷🫧What do you Want to ask About?💭₊˚ෆ")