Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
|
11 |
|
12 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
13 |
|
14 |
-
system_message = "You are a game chatbot specialized in recommending indie games
|
15 |
# Initial system message to set the behavior of the assistant
|
16 |
messages = [{"role": "system", "content": system_message}]
|
17 |
|
@@ -123,16 +123,16 @@ topics = """
|
|
123 |
"""
|
124 |
theme = gr.themes.Base().set(
|
125 |
background_fill_primary='#FAB9CB', # Light pink background
|
126 |
-
background_fill_primary_dark='#
|
127 |
-
background_fill_secondary='#
|
128 |
-
background_fill_secondary_dark='#
|
129 |
border_color_accent='#FFF2F1', # Accent border color
|
130 |
-
border_color_accent_dark='#
|
131 |
-
border_color_accent_subdued='#
|
132 |
-
border_color_primary='#
|
133 |
block_border_color='#FFF2F1', # Block border color
|
134 |
-
button_primary_background_fill='#
|
135 |
-
button_primary_background_fill_dark='#
|
136 |
)
|
137 |
|
138 |
# Setup the Gradio Blocks interface with custom layout components
|
|
|
11 |
|
12 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
13 |
|
14 |
+
system_message = "You are a game chatbot specialized in recommending indie games."
|
15 |
# Initial system message to set the behavior of the assistant
|
16 |
messages = [{"role": "system", "content": system_message}]
|
17 |
|
|
|
123 |
"""
|
124 |
theme = gr.themes.Base().set(
|
125 |
background_fill_primary='#FAB9CB', # Light pink background
|
126 |
+
background_fill_primary_dark='#AB4E68', # Light pink background
|
127 |
+
background_fill_secondary='#AB4E68', # Light orange background
|
128 |
+
background_fill_secondary_dark='#AB4E68', # Dark orange background
|
129 |
border_color_accent='#FFF2F1', # Accent border color
|
130 |
+
border_color_accent_dark='#AB4E68', # Dark accent border color
|
131 |
+
border_color_accent_subdued='#AB4E68', # Subdued accent border color
|
132 |
+
border_color_primary='#AB4E68', # Primary border color
|
133 |
block_border_color='#FFF2F1', # Block border color
|
134 |
+
button_primary_background_fill='#AB4E68', # Primary button background color
|
135 |
+
button_primary_background_fill_dark='#AB4E68', # Dark primary button background color
|
136 |
)
|
137 |
|
138 |
# Setup the Gradio Blocks interface with custom layout components
|