update app.py
Browse files
app.py
CHANGED
@@ -108,11 +108,11 @@ def set_visible_true():
|
|
108 |
title = """<h1 align="center">🔥English Teaching Assistant for Primary 6 Students +🚀Gradio-Streaming</h1>"""
|
109 |
|
110 |
#Using info to add additional information about System message in GPT4
|
111 |
-
system_msg_info = """
|
112 |
-
|
113 |
|
114 |
#Modifying existing Gradio Theme
|
115 |
-
theme = gr.themes.Soft(primary_hue="
|
116 |
text_size=gr.themes.sizes.text_lg)
|
117 |
|
118 |
with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;} #chatbot {height: 520px; overflow: auto;}""",
|
|
|
108 |
title = """<h1 align="center">🔥English Teaching Assistant for Primary 6 Students +🚀Gradio-Streaming</h1>"""
|
109 |
|
110 |
#Using info to add additional information about System message in GPT4
|
111 |
+
system_msg_info = """The system message is used to set the context and behavior of the AI assistant at the beginning of a conversation. It provides instructions to the assistant to help guide its responses. For example, if you want the assistant to act as an expert in history, you can use the system message 'You are an expert in history.'"""
|
112 |
+
|
113 |
|
114 |
#Modifying existing Gradio Theme
|
115 |
+
theme = gr.themes.Soft(primary_hue="indigo", secondary_hue="blue", neutral_hue="blue",
|
116 |
text_size=gr.themes.sizes.text_lg)
|
117 |
|
118 |
with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;} #chatbot {height: 520px; overflow: auto;}""",
|