Update app.py
Browse files
app.py
CHANGED
@@ -112,23 +112,23 @@ 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:#fc6c85; font-size:40px; font-weight:light;">🫧𓍢ִ໋🍬Your AI-Driven Assistant for
|
116 |
|
117 |
<span style="color:#AB4E68; font-size:30px; font-weight:bold;">𓍢ִ໋🌷͙֒₊˚*Feel Free to ask for Recommendations Based on the Topics Belowੈ🎀⸝⸝🍓⋆</span>
|
118 |
"""
|
119 |
|
120 |
topics = """
|
121 |
-
<span style="color:#A25F9D; font-size:20px; font-weight:light;"
|
122 |
|
123 |
-
<span style="color:#A25F9D; font-size:20px; font-weight:light;"
|
124 |
|
125 |
-
<span style="color:#A25F9D; font-size:20px; font-weight:light;"
|
126 |
|
127 |
-
<span style="color:#A25F9D; font-size:20px; font-weight:light;"
|
128 |
|
129 |
-
<span style="color:#A25F9D; font-size:20px; font-weight:light;">₊˚🦢✩
|
130 |
|
131 |
-
<span style="color:#A25F9D; font-size:20px; font-weight:light;"
|
132 |
"""
|
133 |
theme = gr.themes.Base().set(
|
134 |
background_fill_primary='#FAB9CB', # Light pink background
|
@@ -155,9 +155,9 @@ with gr.Blocks(theme=theme) as demo:
|
|
155 |
gr.Image("Image 8-1-24 at 2.42 PM.jpeg", show_label = False, show_share_button = False, show_download_button = False, height=294, width=500 )
|
156 |
with gr.Row():
|
157 |
with gr.Column():
|
158 |
-
question = gr.Textbox(label="ׁ ׁ ꥓ ݄ ׁ 𖦹 ׅ 𓈒Your Question⋆𐙚₊˚⊹♡", placeholder="༘⋆🌷🫧What
|
159 |
-
answer = gr.Textbox(label="˚ ༘˚Plai Responseೀ⋆。", placeholder="ೀ🍨‧° 🎀⊹°。♡Plai will Respond Here...", interactive=False, lines=17)
|
160 |
-
submit_button = gr.Button("˚₊‧꒰ა
|
161 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
162 |
|
163 |
|
|
|
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 |
<span style="color:#AB4E68; font-size:30px; font-weight:bold;">𓍢ִ໋🌷͙֒₊˚*Feel Free to ask for Recommendations Based on the Topics Belowੈ🎀⸝⸝🍓⋆</span>
|
118 |
"""
|
119 |
|
120 |
topics = """
|
121 |
+
<span style="color:#A25F9D; font-size:20px; font-weight:light;">🎀୭✧Genre🧷˚.₊</span>
|
122 |
|
123 |
+
<span style="color:#A25F9D; font-size:20px; font-weight:light;">₊˚˖𓍢ִ🍓✧˚Price🎀༘⋆゚</span>
|
124 |
|
125 |
+
<span style="color:#A25F9D; font-size:20px; font-weight:light;">📍ִ໋🌷͙֒✧Style🎀༘🩷˚.⋆</span>
|
126 |
|
127 |
+
<span style="color:#A25F9D; font-size:20px; font-weight:light;">🍰🎀♡Feeling ༘*.゚🧸</span>
|
128 |
|
129 |
+
<span style="color:#A25F9D; font-size:20px; font-weight:light;">₊˚🦢✩Year🎀⊹☁️♡゚</span>
|
130 |
|
131 |
+
<span style="color:#A25F9D; font-size:20px; font-weight:light;">⋆。‧˚ʚ꣑ৎɞ˚‧。⋆</span>
|
132 |
"""
|
133 |
theme = gr.themes.Base().set(
|
134 |
background_fill_primary='#FAB9CB', # Light pink background
|
|
|
155 |
gr.Image("Image 8-1-24 at 2.42 PM.jpeg", show_label = False, show_share_button = False, show_download_button = False, height=294, width=500 )
|
156 |
with gr.Row():
|
157 |
with gr.Column():
|
158 |
+
question = gr.Textbox(label="ׁ ׁ ꥓ ݄ ׁ 𖦹 ׅ 𓈒Your Question⋆𐙚₊˚⊹♡", placeholder="༘⋆🌷🫧What are You Wondering?💭₊˚ෆ")
|
159 |
+
answer = gr.Textbox(label="˚ ༘˚Plai's Responseೀ⋆。", placeholder="ೀ🍨‧° 🎀⊹°。♡Plai will Respond Here...", interactive=False, lines=17)
|
160 |
+
submit_button = gr.Button("˚₊‧꒰აAsk Away໒꒱ ‧₊˚")
|
161 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
162 |
|
163 |
|